Skip to content

fix: keep site header on OAuth authorize and error pages - #129

Merged
Sunwuyuan merged 1 commit into
mainfrom
fix/oauth-pages-keep-app-header
Jul 14, 2026
Merged

fix: keep site header on OAuth authorize and error pages#129
Sunwuyuan merged 1 commit into
mainfrom
fix/oauth-pages-keep-app-header

Conversation

@Sunwuyuan

Copy link
Copy Markdown
Member

Summary

  • OAuth authorize and error pages no longer switch to layout: simple or render a custom oauth-topbar
  • They stay on the default layout so the global AppHeader is unchanged
  • Authorization card / error content behavior is unchanged; only the page chrome is restored

Why

Recent OAuth UI work introduced a standalone simple layout and custom top bar, which replaced the site header. That was unintentional — these pages should not modify the page top bar.

Test plan

  • Open /app/oauth/authorize (with valid OAuth query params while logged in) and confirm the normal site header is present
  • Open /app/oauth/error and confirm the normal site header is present
  • Confirm authorize card loading / scope list / cancel / authorize still work
  • Confirm error page still shows error details and “返回首页”

OAuth pages used layout: simple and a custom topbar, which replaced the global AppHeader. Drop that so authorize/error stay in the default layout without changing the site top bar.
@vercel

vercel Bot commented Jul 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
zerocat Ready Ready Preview, Comment Jul 13, 2026 1:47pm
zerocatblog Ready Ready Preview, Comment Jul 13, 2026 1:47pm

@Sunwuyuan
Sunwuyuan merged commit 2b26cc4 into main Jul 14, 2026
9 checks passed
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