Add auto-registration mechanism #9
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add a way to hit POST /v1/Users/ endpoint upon login, to register the user locally if they have not been yet
There's currently an issue with calling the POST endpoint from React App, in that an exception can be thrown when multiple calls are thrown to the API at the same time, and registration happens simultaneously. It violates the unique auth0id constraint.
Another approach will be to try to hit it via Auth0 Post user registration workflow, but it will have to come after the dev environment setup.
References:
https://community.auth0.com/t/how-to-get-a-users-id-token-inside-of-the-post-user-registration-auth0-action/67338
https://community.auth0.com/t/how-do-i-call-my-api-from-a-rule/41309
New approach to be taken: