On Sun, Jun 9, 2019 at 6:32 PM Pierre-Yves Chibon pingou@pingoured.fr 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/
Problem is one can't set the new password with openid-connect login as it says the current password(fas pass in this case) is invalid even though its right.