Files
workavia-mail-front/docs/adr/0035-error-handling-on-no-longer-valid-oidc-token.md
T
2024-02-19 15:55:09 +07:00

19 lines
505 B
Markdown

# 35. Error handling on no longer valid OIDC token (Issue #2592)
Date: 2024-02-15
## Status
Accepted
## Context
- When my OIDC token is expired, I see an awful red error message while being redirected
## Decision
- When my OIDC token is expired, I am just redirected to the OIDC provider portal. No need to show an awful error.
## Consequences
- In case of receiving a `BadCredentials` error, the system automatically logs out and returns to the login screen without any notification to the user.