Skip to content

Brand the hosted login and app picker pages - #248

Merged
clbotdev merged 1 commit into
mainfrom
t3/medialit-login-branding
Nov 2, 2026
Merged

clbotdev merged 1 commit into
mainfrom
t3/medialit-login-branding

Conversation

@clbotdev

@clbotdev clbotdev commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

The hosted login page is served by oauth-server-kit from the API host. MediaLit passed only the app name, so the page showed the kit's default brown button, a black M placeholder and no favicon.

Changes:

  • app.ts: pass the web app's /icon.svg as logo and favicon, and oklch(0.6 0.14 300) (the medialit product token) as the primary color, to the login router and the app picker.
  • oauth-app-pages.ts: the app picker takes the same brand instead of the hardcoded brown and the M placeholder.

Verified: API typecheck, full API test suite (165/165), prettier and eslint on changed files, and the kit's login HTML renders the icon and favicon.

The login page is served by oauth-server-kit from the API host, but MediaLit
passed only the app name, so it showed the kit's default brown button, a
black M placeholder and no favicon. Pass the web app's icon as the logo and
favicon and use the medialit product color (oklch(0.6 0.14 300)) for the
login page. The app picker takes the same brand so the flow stays consistent.

Co-Authored-By: Claude <noreply@anthropic.com>
@clbotdev
clbotdev merged commit 309b2e3 into main Nov 2, 2026
5 of 6 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.

2 participants