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

Make admins to receive a random token in validation #9

Open
jordimorillo opened this issue Apr 3, 2024 · 0 comments
Open

Make admins to receive a random token in validation #9

jordimorillo opened this issue Apr 3, 2024 · 0 comments
Assignees

Comments

@jordimorillo
Copy link
Owner

jordimorillo commented Apr 3, 2024

As admin users
We want to receive a token after validating our user
To do this, we will make the user validation use case to generate a token, store it in redis with a five minutes lifespan and return it only when validation is successful
The requirement will be met when in production we can receive a token once an admin logs in and it disappears from redis after five minutes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant