Skip to content

fix(frontend): remember OIDC return URL and drop unreachable AdminPanel render on main - #573

Closed
seonghobae wants to merge 4 commits into
mainfrom
fix/main-admin-panel-oidc-return-url
Closed

fix(frontend): remember OIDC return URL and drop unreachable AdminPanel render on main#573
seonghobae wants to merge 4 commits into
mainfrom
fix/main-admin-panel-oidc-return-url

Conversation

@seonghobae

@seonghobae seonghobae commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Reopen of #551 (head-sync corruption on GitHub's side). Branch now includes a merge of current main.

Fix

  • Login button builds the return URL via returnUrlFromLocation() and persists it with rememberOidcReturnUrl() (ADR 0109) so the OIDC state round-trip can't lose it.
  • Removes the unreachable AdminPanel render inside the unauthenticated branch (also fixes main's TS2322: accessToken was string|undefined).
  • Repairs main's failing frontend build (unused oidcReturnUrl imports are now used; unreachable render gone).

Unblocks every open PR whose 'Frontend lint, test, build' failure is inherited from main.


Open in Devin Review

seonghobae and others added 4 commits August 24, 2026 10:07
…el render

main's login screen builds returnUrl via raw string concatenation
instead of returnUrlFromLocation()/rememberOidcReturnUrl(), leaving
both imports unused (TS6192) and rendering an AdminPanel with
accessToken: string | undefined on the unauthenticated branch
(TS2322) -- pnpm run build fails on main's current tip. This is the
same bug pattern fixed independently across several feature branches
this session; landing it on main directly stops every branch built
from main's tip from inheriting the broken build.
Central .github main landed 0c6b9a64 (openai-direct fallback prefix
mapping + OpenAI fallback key routing), so NVIDIA NIM 429s now degrade
to a working terminal OpenAI fallback instead of failing every PR's
required strix check. Re-run to pick up the fixed org workflow.
Main evolved the same test to assert both session and localStorage
fallbacks via the exported OIDC_RETURN_URL_STORAGE_KEY; adopt that
richer form. App.tsx merged clean (main already uses returnUrlFromLocation
+ rememberOidcReturnUrl and dropped the unreachable AdminPanel render,
matching this branch's fix).

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@seonghobae

Copy link
Copy Markdown
Contributor Author

Closing as empty/superseded — the diff against main is now 0 files changed (main already carries this fix independently, via #426). This mirrors #551 from earlier in the session, which was closed for the same reason.

@seonghobae seonghobae closed this Aug 24, 2026
auto-merge was automatically disabled August 24, 2026 08:26

Pull request was closed

@github-actions

Copy link
Copy Markdown
Contributor

자동 정리: base 대비 실제 변경(diff)이 0건이라 이 PR을 닫습니다. 변경을 추가한 뒤 reopen하세요.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant