BCBSAL requires an empty scope list.
This commit is contained in:
parent
6d6647a549
commit
65bcabeb23
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue