Skip to content

console: only surface oidc auth errors from active sign-in attempts#36879

Open
leedqin wants to merge 1 commit into
MaterializeInc:mainfrom
leedqin:fix-oidc-error-rendering
Open

console: only surface oidc auth errors from active sign-in attempts#36879
leedqin wants to merge 1 commit into
MaterializeInc:mainfrom
leedqin:fix-oidc-error-rendering

Conversation

@leedqin
Copy link
Copy Markdown
Contributor

@leedqin leedqin commented Jun 2, 2026

Auth errors were sticky on the login page across refresh and back navigation. Switched the url param to a sessionStorage key that login component reads and removes on mount so the error doesn't persist on reload.

Remove these sections if your commit already has a good description!

Motivation

Fixes CNS-88

Description

What does this PR actually do? Focus on the approach and any non-obvious
decisions. The diff shows the code --- use this space to explain what the
diff can't tell a reviewer.

Verification

Before the fix error keeps persisting:

err_persisting.mov

After fix error doesn't persist on refresh:

error_persistence.mov

Auth errors were sticky on the login page across refresh and back
navigation. Switched the url param to a sessionStorage key that login component reads and removes on mount so the error doesn't persist on reload.
@leedqin leedqin requested a review from a team as a code owner June 2, 2026 22:16
@leedqin leedqin added the A-CONSOLE Area: Console label Jun 2, 2026
@leedqin leedqin requested review from SangJunBak and removed request for a team June 2, 2026 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CONSOLE Area: Console

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant