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.
Another thing i noticed is one should be able to login via the normal login via api even if the user is registered using fas.
- Manas(Pac23)
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.
This may be a good question for the taiga folks, which procedure described in: https://taigaio.github.io/taiga-doc/dist/api.html#auth-normal fit our deployment.
Jim do you think you could ask them?
Another thing i noticed is one should be able to login via the normal login via api even if the user is registered using fas.
We actually want to get rid of the username/password field in this taiga instance: https://pagure.io/fedora-infrastructure/issue/7827
Thanks, Pierre
Yup. I'll pass it along to them. This can be done via support@taiga.io, with me as an additional to: or cc: so I'm not a SPOF on it.
On 6/4/19 8:41 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.
This may be a good question for the taiga folks, which procedure described in: https://taigaio.github.io/taiga-doc/dist/api.html#auth-normal fit our deployment.
Jim do you think you could ask them?
Another thing i noticed is one should be able to login via the normal login via api even if the user is registered using fas.
We actually want to get rid of the username/password field in this taiga instance: https://pagure.io/fedora-infrastructure/issue/7827
Thanks, Pierre _______________________________________________ infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-leave@lists.fedoraproject.org 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@lists.fedorapro...
Sorry if the previous mail lacked context.Thanks for getting back to me. Basically right now the issue is nor can one use a token to login nor user id and pass in the payload.Since one has to sign in using their FAS ID and there is no option to signup otherwise.Somewhere the user id pass thing is broken wrt to pagure. GitHub integration for Taiga https://taigaio.github.io/taiga-doc/dist/api.html#auth-github-login imo is a great example of such kind of logging integration.
- Manas
On Tue, Jun 4, 2019 at 9:32 PM Jim Perrin jperrin@redhat.com wrote:
Yup. I'll pass it along to them. This can be done via support@taiga.io, with me as an additional to: or cc: so I'm not a SPOF on it.
On 6/4/19 8:41 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.
This may be a good question for the taiga folks, which procedure
described in:
https://taigaio.github.io/taiga-doc/dist/api.html#auth-normal fit our deployment.
Jim do you think you could ask them?
Another thing i noticed is one should be able to login via the normal login via api even if the user is registered using fas.
We actually want to get rid of the username/password field in this taiga instance: https://pagure.io/fedora-infrastructure/issue/7827
Thanks, Pierre _______________________________________________ infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to
infrastructure-leave@lists.fedoraproject.org
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@lists.fedorapro...
infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-leave@lists.fedoraproject.org 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@lists.fedorapro...
On Tue, Jun 04, 2019 at 05:41:26PM +0200, 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.
This may be a good question for the taiga folks, which procedure described in: https://taigaio.github.io/taiga-doc/dist/api.html#auth-normal fit our deployment.
Jim do you think you could ask them?
After asking Jim, I have contacted directly the taiga folks for help. I'll let you know what they say :)
Pierre
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
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.
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.
Ignore this bit,so it happens that first time one can set the password without the current pass. Thank you for Letting me know the answer from taiga's support team. :-)
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
infrastructure@lists.fedoraproject.org