Re: taiga and fas login auth api integration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

As you can see, you must login via the UI at least once, so the account is
created in taiga's database.

Hoping this helps,
Pierre
_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux