diff --git a/app/oauth-client.json/route.ts b/app/oauth-client.json/route.ts index 4755046..c602676 100644 --- a/app/oauth-client.json/route.ts +++ b/app/oauth-client.json/route.ts @@ -20,7 +20,7 @@ export async function GET(request: Request) { oauthClientMetadataSchema.parse({ client_id: requestUrl.href, client_uri: new URL('/', requestUrl).href, - redirect_uris: [new URL('/', requestUrl).href], + redirect_uris: [new URL('/oauth/callback', requestUrl).href], response_types: ['code'], grant_types: ['authorization_code', 'refresh_token'], token_endpoint_auth_method: 'none',