Skip to content

DEV - Show logout prompt when cookies are not there #371

@prooflesben

Description

@prooflesben

Overview

We have had a bug where the cookies disappear most likely due to a browser issue. In the mean time to address this issue we need to have a way to detect when the cookies are no longer in our frontend. When this error happens a pop up should show up and tell the user there's been an error and that they have to logout with a button to logout. To detect when there are no cookies a lot of the code should be in the api.ts file. Feel free to reach out to @prooflesben if there are any questions or if anything is unclear.

Tasks

  • When there are no cookies show a logout prompt saying there's been an internal error and force the user to logout.

Acceptance Criteria

  • When the cookies are no longer in the frontend the user is prompted to logout due to an unknown error.

Metadata

Metadata

Assignees

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