Skip to content

[Cherry-pick to branch-1.3] [#11141] improvement(ui):Change the OIDC callback address based on NEXT_PUBLIC_BASE and catch error (#11142)#11399

Open
github-actions[bot] wants to merge 1 commit into
branch-1.3from
cherry-pick-62e135a7-to-branch-1.3
Open

[Cherry-pick to branch-1.3] [#11141] improvement(ui):Change the OIDC callback address based on NEXT_PUBLIC_BASE and catch error (#11142)#11399
github-actions[bot] wants to merge 1 commit into
branch-1.3from
cherry-pick-62e135a7-to-branch-1.3

Conversation

@github-actions
Copy link
Copy Markdown

@github-actions github-actions Bot commented Jun 3, 2026

Cherry-pick Information:

  • Original commit: 62e135a
  • Target branch: branch-1.3
  • Status: ✅ Clean cherry-pick (no conflicts)

…XT_PUBLIC_BASE and catch error (#11142)

### What changes were proposed in this pull request?

1. Change the OIDC callback address from the hardcoded /ui to
dynamically concatenate based on NEXT_PUBLIC_BASE_PATH, so that in local
dev it will use /oauth/callback, while in a static /ui deployment it
will still use /ui/oauth/callback, consistent with the actual route.
2. Catch redirect error

### Why are the changes needed?

Fix: #11141

### Does this PR introduce _any_ user-facing change?
N/A

### How was this patch tested?
N/A
@github-actions github-actions Bot requested a review from jerryshao June 3, 2026 07:25
@yuqi1129 yuqi1129 closed this Jun 3, 2026
@yuqi1129 yuqi1129 reopened this Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants