Skip to content

Commit f50f110

Browse files
Add logo to OAuth metadata
1 parent 2af4011 commit f50f110

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.svg`),
4949
scope,
5050
redirect_uris: [redirect_uri],
5151
grant_types: ['authorization_code', 'refresh_token'],

0 commit comments

Comments
 (0)