diff --git a/packages/backend/src/server/oauth/OAuth2ProviderService.ts b/packages/backend/src/server/oauth/OAuth2ProviderService.ts index 591c55b337..d6c4448935 100644 --- a/packages/backend/src/server/oauth/OAuth2ProviderService.ts +++ b/packages/backend/src/server/oauth/OAuth2ProviderService.ts @@ -286,7 +286,7 @@ export class OAuth2ProviderService { return await reply.view('oauth', { transactionId: oauth2.transactionID, clientName: oauth2.client.name, - scope: (oauth2.req.scope as any as string[]).join(' '), + scope: oauth2.req.scope.join(' '), }); }); fastify.post('/oauth/decision', async () => { });