You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently set up an on-premises taiga instance for a client.
I don't want to enable public registration as it should be kept to organization users only, ideally set up so AWS lambdas ran when new IAM users are created/disabled may create/delete the taiga user.
I've seen other issues mentioning being able to create users through python, but this will involve having to ssh into taiga's host, which I'd like to avoid.
Is there some kind of API (like the /admin/users/user/add API, that I can't use programmatically because of the CSRF token), that may be used for this, or alternatively, would you be so kind to provide some guidance as to how to achieve this with the advertised APIs?
Thanks
The text was updated successfully, but these errors were encountered:
Hi @carlosc-metacampus
The token you are looking for is part of the email that is sent to the user when it is invited to a project using the endpoint you suggested (https://docs.taiga.io/api.html#memberships-create). In the email, there should be a URL to accept the invitation with the token. You can copy it from there.
This token is only available in the email or the database, not exposed in the API.
Good evening,
I've recently set up an on-premises taiga instance for a client.
I don't want to enable public registration as it should be kept to organization users only, ideally set up so AWS lambdas ran when new IAM users are created/disabled may create/delete the taiga user.
I've tried the private POST auth/register API (as specified in https://docs.taiga.io/api.html#auth-private-registry), however it asks for a token parameter I can't seem to get. Docs suggest it comes from an invitation, which I attempt to create from the POST membership API (https://docs.taiga.io/api.html#memberships-create). However this doesn't give me back any kind of token.
I've seen other issues mentioning being able to create users through python, but this will involve having to ssh into taiga's host, which I'd like to avoid.
Is there some kind of API (like the /admin/users/user/add API, that I can't use programmatically because of the CSRF token), that may be used for this, or alternatively, would you be so kind to provide some guidance as to how to achieve this with the advertised APIs?
Thanks
The text was updated successfully, but these errors were encountered: