Skip to content

Commit 6b5b847

Browse files
feat: add logo to OAuth metadata (#2355)
1 parent 2ca79ab commit 6b5b847

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/utils/atproto/oauth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ export function getOauthClientMetadata(pkAlg: string | undefined = undefined): O
4141
? webUriSchema.parse(`${clientUri}/.well-known/jwks.json`)
4242
: undefined
4343

44-
// If anything changes here, please make sure to also update /shared/schemas/oauth.ts to match
4544
return {
4645
client_name: 'npmx.dev',
4746
client_id,
4847
client_uri: clientUri,
48+
logo_uri: webUriSchema.parse(`${clientUri}/logo-icon.svg`),
4949
scope,
5050
redirect_uris: [redirect_uri],
5151
grant_types: ['authorization_code', 'refresh_token'],

0 commit comments

Comments
 (0)