Skip to content

Feat: Add users sessions and refresh token mechanism #49

@rafinskipg

Description

@rafinskipg
  • When calling getSession check if the user has a session in the database. if not, reject the access
  • Enable a refreshToken endpoint that will generate a new accessToken if the user has a session with that refresh token on the database
  • On logout destroy the session item on the database
  • Create a button to logout users from the admin dashboard
  • Create a list of "user sessions" on the security tab on user settings

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