argoproj / argoproj/argo-workflows
UI should take to login page if response is unauthorized or token is invalid
- Dominant language
- Go
- Stars
- 17k
- Forks
- 3.7k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 138
Description
# Summary
Argo Server UI is keep showing the error page if UI gets an unauthorized response from the server.
What change you think needs making.
UI should show the login page with an error message or Error page should have login page link
# Motivation
The token is cached in the browser. if token changed or accessing the different servers. UI should show the login page to update the token
Contributor guide
Research direction
Start by reproducing an unauthorized or invalid-token response in the Argo Server UI and trace how the UI currently reaches its error page. The work is done when that response leads to a login page with an error message or provides a login link, allowing the cached token to be updated.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100