Skip to content

Commit

Permalink
[ACS-8301] - Test the ADW integration with HXIAM (#9934)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikiwanekhyland committed Jul 10, 2024
1 parent a0b82ad commit eda03ed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/core/src/lib/auth/oidc/auth-config.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export class AuthConfigService {
const oauth2 = this.appConfigService.oauth2;
const origin = this.getLocationOrigin();
const redirectUri = this.getRedirectUri();
const customQueryParams = oauth2.audience ? { audience: oauth2.audience } : {};

return new AuthConfig({
...oauth2,
Expand All @@ -66,9 +67,7 @@ export class AuthConfigService {
scope: oauth2.scope,
dummyClientSecret: oauth2.secret || '',
logoutUrl: oauth2.logoutUrl,
customQueryParams: {
audience: oauth2.audience
},
customQueryParams,
...(oauth2.codeFlow && { responseType: 'code' })
});
}
Expand Down

0 comments on commit eda03ed

Please sign in to comment.