mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-21 01:53:26 +00:00
4c2e1de768
The sites OAuth server's consent/start response already returns a
`verifiedName` for clients it recognizes from the known-clients registry
(matched by redirect URI), alongside the untrusted client-supplied `name`.
The consent screen carried the field on its type but never rendered it.
Anchor the trust badge to that server-verified identity: when a client is
verified, show "Verified as {verifiedName}" instead of a bare "Verified",
so the signal reflects the name GitBook vouches for rather than only the
self-reported client name. Falls back to the previous label when no
verified name is present.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015dz2F7LM2xbaSCsMfuGax7