Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Token generation for new user #33

Open
lorezi opened this issue Nov 13, 2021 · 0 comments
Open

Token generation for new user #33

lorezi opened this issue Nov 13, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@lorezi
Copy link
Owner

lorezi commented Nov 13, 2021

The way token generation is been implemented at the moment is not efficient because a new user could be created without having a generated token.

I think the token generation implementation should be transactional (all or nothing operations)in the sense that a new user creation fails if token generation fails.

Transactional implementation saves us the stress of having users in our database and they don't have access to our application which then ensures data consistency and integrity.

@lorezi lorezi added the enhancement New feature or request label Nov 13, 2021
@lorezi lorezi self-assigned this Nov 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant