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

Add a token access code to interact with the api rest #5

Open
jordimorillo opened this issue Mar 29, 2024 · 0 comments
Open

Add a token access code to interact with the api rest #5

jordimorillo opened this issue Mar 29, 2024 · 0 comments
Assignees

Comments

@jordimorillo
Copy link
Owner

As project owner
I want to restrict the use of my api to those who have a valid api rest token
To do so, I'll create an api token as an environment variable and check it matches with the tokens sent in controllers
I will know this requirement is met when I will have to use my own token to make queries in production

@jordimorillo jordimorillo self-assigned this Mar 29, 2024
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