On 6/7/19 12:50 AM, Pierre-Yves Chibon wrote: > On Fri, May 31, 2019 at 07:55:08PM +0530, Manas Mangaonkar wrote: >> Hey, >> >> Gsoc Intern here,want to fetch auth token for the user from >> team.fedoraproject.taiga via the api to do stuff but it seems there is >> no integration on the api end. Would love some more information about >> it. > > So taiga's support gave us two ways for you to fetch an auth token: > > * Login to taiga using the UI, then using the browser inspector, look for the > taiga cookie and retrieve the "token" specified in it. > > * Login to taiga using openid-connect in UI. Then go to your user's settings and set > a password there. > Once you have set a password there, you can follow the usual instructions for > fetch an auth token via the API: > https://taigaio.github.io/taiga-doc/dist/api.html#auth-normal-login and > https://taigaio.github.io/taiga-doc/dist/api.html#_authentication > Just beware that the API is available at: > https://teams-api.fedoraproject.org/api/v1/ I think we should discourage/block this second option here. It would mean people could ignore fas and login and have tokens, so we would have to make sure we disabled someone also on taiga when we wanted to disable them and it could cause confusion for users that forget that password (do we have any way to reset it? does the taiga folks?) Anyhow, lets see what they say... kevin
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx