Frontend throws internal server errors if it gets an invalid token from a cookie #3

Open
opened 2023-11-01 13:26:39 +02:00 by slaesvuo · 0 comments
Owner

This is related to invalid login credentials throwing errors. The frontend server should remove the cookie if the token is invalid and then redirect the user to relogin. Currently tokens expire only when a user has logged in but not verified their email in a week, after which their account is deleted. This probably doesn’t happen all too often, so this has low priority.

This is related to [invalid login credentials throwing errors](https://git.datat.fi/ry/datarekisteri/issues/1). The frontend server should remove the cookie if the token is invalid and then redirect the user to relogin. Currently tokens expire only when a user has logged in but not verified their email in a week, after which their account is deleted. This probably doesn't happen all too often, so this has low priority.
slaesvuo added the
Type
Bug
Priority
Low
Component/Frontend
labels 2023-11-01 13:26:39 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ry/datarekisteri#3
No description provided.