BCBSAL requires an empty scope list.

This commit is contained in:
Jason Kulatunga 2023-12-14 16:36:09 -08:00
parent 6d6647a549
commit 65bcabeb23
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -90,6 +90,8 @@ export class LighthouseService {
authorizationUrl.searchParams.set('client_id', lighthouseSource.client_id); authorizationUrl.searchParams.set('client_id', lighthouseSource.client_id);
if(lighthouseSource.scopes_supported && lighthouseSource.scopes_supported.length){ if(lighthouseSource.scopes_supported && lighthouseSource.scopes_supported.length){
authorizationUrl.searchParams.set('scope', lighthouseSource.scopes_supported.join(' ')); authorizationUrl.searchParams.set('scope', lighthouseSource.scopes_supported.join(' '));
} else {
authorizationUrl.searchParams.set('scope', '');
} }
if (lighthouseSource.aud) { if (lighthouseSource.aud) {
authorizationUrl.searchParams.set('aud', lighthouseSource.aud); authorizationUrl.searchParams.set('aud', lighthouseSource.aud);