argoproj / argoproj/argo-workflows

UI should take to login page if response is unauthorized or token is invalid

Open
#2,012 0 comments 2 reactions 0 assignees View on GitHub
area/ui type/security
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.