[API] Missing token returns Generic error
Open
Nobody has claimed this yet.
API
bug
Dashboard
- Dominant language
- Python
- Stars
- 1.9k
- Forks
- 323
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 12
Description
When the access token is deprecated or it is missing, any action on the UI will redirect to a blank page with
{
"detail": "Generic error"
}
How to reproduce
Open the UI. Remove the user token.
Ideal solution
Redirect to the login page
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in the UI by removing the user token and performing an action, then trace the API error handling and authentication redirect. Done when a missing or deprecated token sends the user to the login page instead of a blank page showing the Generic error.
Written by the indexing model from the issue text.
Assessment
- Domain
- authentication, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100