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

Refresh tokens #30

Open
federicoVallcorbaX opened this issue Sep 18, 2024 · 0 comments
Open

Refresh tokens #30

federicoVallcorbaX opened this issue Sep 18, 2024 · 0 comments

Comments

@federicoVallcorbaX
Copy link
Contributor

Add support for refresh tokens in the auth flow. This should be:

  • Model refresh tokens and store them in the DB (it could also be in a Redis DB for example)
  • Return a refresh token in the login endpoint too (currently it only returns an access token)
  • Add a "refresh" endpoint that receives a refresh token and returns an access token
  • Add a "logout" endpoint that revokes the refresh token
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