Skip to content

Refresh tokens #30

@federicoVallcorbaX

Description

@federicoVallcorbaX

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions