Skip to content

Commit

Permalink
chore: allow for other scopes (not only openid)
Browse files Browse the repository at this point in the history
  • Loading branch information
martines3000 committed Jan 1, 2025
1 parent 3fa5fa5 commit 22fb642
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libs/oidc/client-plugin/src/agent/client-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 22fb642

Please sign in to comment.