mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
[ACS-8301] - Test the ADW integration with HXIAM (#9934)
This commit is contained in:
parent
a0b82ad887
commit
eda03ed525
@ -53,6 +53,7 @@ export class AuthConfigService {
|
|||||||
const oauth2 = this.appConfigService.oauth2;
|
const oauth2 = this.appConfigService.oauth2;
|
||||||
const origin = this.getLocationOrigin();
|
const origin = this.getLocationOrigin();
|
||||||
const redirectUri = this.getRedirectUri();
|
const redirectUri = this.getRedirectUri();
|
||||||
|
const customQueryParams = oauth2.audience ? { audience: oauth2.audience } : {};
|
||||||
|
|
||||||
return new AuthConfig({
|
return new AuthConfig({
|
||||||
...oauth2,
|
...oauth2,
|
||||||
@ -66,9 +67,7 @@ export class AuthConfigService {
|
|||||||
scope: oauth2.scope,
|
scope: oauth2.scope,
|
||||||
dummyClientSecret: oauth2.secret || '',
|
dummyClientSecret: oauth2.secret || '',
|
||||||
logoutUrl: oauth2.logoutUrl,
|
logoutUrl: oauth2.logoutUrl,
|
||||||
customQueryParams: {
|
customQueryParams,
|
||||||
audience: oauth2.audience
|
|
||||||
},
|
|
||||||
...(oauth2.codeFlow && { responseType: 'code' })
|
...(oauth2.codeFlow && { responseType: 'code' })
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user