From 22fb6420e33c574f0bcf2cad904ded263535777f Mon Sep 17 00:00:00 2001 From: martines3000 Date: Wed, 1 Jan 2025 22:06:17 +0100 Subject: [PATCH] chore: allow for other scopes (not only openid) --- libs/oidc/client-plugin/src/agent/client-plugin.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/oidc/client-plugin/src/agent/client-plugin.ts b/libs/oidc/client-plugin/src/agent/client-plugin.ts index 9f3b4a9b..61d169cf 100644 --- a/libs/oidc/client-plugin/src/agent/client-plugin.ts +++ b/libs/oidc/client-plugin/src/agent/client-plugin.ts @@ -521,9 +521,9 @@ export class OIDCClientPlugin implements IAgentPlugin { return ResultObject.error('Nonce is required'); } - if (authorizationRequest.scope !== 'openid') { - return ResultObject.error('Only openid scope is supported'); - } + // if (authorizationRequest.scope !== 'openid') { + // return ResultObject.error('Only openid scope is supported'); + // } if (!authorizationRequest.client_id) { return ResultObject.error('Client id is required');