We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4797f57 + 273e047 commit 6119125Copy full SHA for 6119125
projects/angular-auth-oidc-client/src/lib/utils/url/url.service.ts
@@ -561,7 +561,10 @@ export class UrlService {
561
params = params.append('nonce', nonce);
562
params = params.append('state', state);
563
564
- if (this.flowHelper.isCurrentFlowCodeFlow(configuration)) {
+ if (
565
+ this.flowHelper.isCurrentFlowCodeFlow(configuration) &&
566
+ !configuration.disablePkce
567
+ ) {
568
params = params.append('code_challenge', codeChallenge);
569
params = params.append('code_challenge_method', 'S256');
570
}
0 commit comments