Skip to content

Commit

Permalink
sort
Browse files Browse the repository at this point in the history
  • Loading branch information
anbraten committed Nov 28, 2024
1 parent 813b322 commit baf2450
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions server/api/oauth/client-metadata.json.get.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,19 @@ export default defineEventHandler(async (event) => {
}

return {
client_name: 'Nimbus',
client_id: requestUrl.href,
client_uri: new URL('/', requestUrl).href,
redirect_uris: [new URL('/', requestUrl).href],
response_types: ['code'],
grant_types: ['authorization_code'],
token_endpoint_auth_method: 'none',
scope: OAUTH_SCOPE,
dpop_bound_access_tokens: true,
application_type: 'web',
client_name: 'Nimbus',
logo_uri: new URL(
'/pwa-192x192.png',
requestUrl,
).href,
redirect_uris: [new URL('/', requestUrl).href],
scope: OAUTH_SCOPE,
grant_types: ['authorization_code', 'refresh_token'],
application_type: 'web',
token_endpoint_auth_method: 'none',
dpop_bound_access_tokens: true,
// tos_uri: 'https://example.com/tos',
// policy_uri: 'https://example.com/policy',
// jwks_uri: 'https://example.com/jwks',
Expand Down

0 comments on commit baf2450

Please sign in to comment.