Skip to content

Conversation

@jlowin
Copy link
Owner

@jlowin jlowin commented Oct 21, 2025

PR #2170 redesigned the consent screen with a blue info box, but inadvertently changed the OAuth callback success/error screen from gray monospace to blue as well. Both screens were using the same .info-box class.

This PR separates the two styles by introducing a new .info-box-mono class and monospace=True parameter to create_info_box(). Now:

  • Consent screen (server-side): Blue info box with regular font
  • Callback screen (client-side): Gray info box with monospace font (restored to original)

The monospace variant is reusable for any future screens that need code-style presentation.

@marvin-context-protocol marvin-context-protocol bot added bug Something isn't working. Reports of errors, unexpected behavior, or broken functionality. auth Related to authentication (Bearer, JWT, OAuth, WorkOS) for client or server. client Related to the FastMCP client SDK or client-side functionality. labels Oct 21, 2025
@jlowin jlowin merged commit 908d085 into main Oct 21, 2025
10 checks passed
@jlowin jlowin deleted the fix-oauth-callback-styling branch October 21, 2025 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auth Related to authentication (Bearer, JWT, OAuth, WorkOS) for client or server. bug Something isn't working. Reports of errors, unexpected behavior, or broken functionality. client Related to the FastMCP client SDK or client-side functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants