Skip to content

DEV Implement Auto Logout and Refresh token logic #322

@prooflesben

Description

@prooflesben

Overview

Tasks

  • Create a timer to auto logout after a certain amount of inactivity or just a hard timer
  • Add in refresh token backend route to fetch access token and id token when called
  • Add in login in api.ts to call the refresh token logic when 401 error is hit
    • Make sure that this only happens when you have a refresh token and it doesn't just happen when someone is unauthorized
    • Also insure the user is already authenticated and validation checks of that sort

Acceptance Criteria

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