We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78e0188 commit 2a6d153Copy full SHA for 2a6d153
server/utils/atproto/oauth.ts
@@ -33,6 +33,7 @@ export function getOauthClientMetadata() {
33
client_name: 'npmx.dev',
34
client_id,
35
client_uri,
36
+ logo_uri: `${client_uri}/logo.svg`,
37
scope,
38
redirect_uris: [redirect_uri] as [string, ...string[]],
39
grant_types: ['authorization_code', 'refresh_token'],
shared/schemas/oauth.ts
@@ -4,6 +4,7 @@ export const OAuthMetadataSchema = object({
4
client_id: pipe(string(), url()),
5
client_name: string(),
6
client_uri: pipe(string(), url()),
7
+ logo_uri: pipe(string(), url()),
8
redirect_uris: pipe(array(string()), minLength(1)),
9
scope: string(),
10
grant_types: array(string()),
0 commit comments