diff --git a/projects/lib/src/oauth-service.ts b/projects/lib/src/oauth-service.ts index 64a765c4..eab5a684 100644 --- a/projects/lib/src/oauth-service.ts +++ b/projects/lib/src/oauth-service.ts @@ -1093,7 +1093,7 @@ export class OAuthService extends AuthConfig { let nonce = null; if (!this.disableNonceCheck) { - let nonce = this.createAndSaveNonce(); + nonce = this.createAndSaveNonce(); if (state) { state = nonce + this.config.nonceStateSeparator + state; } else {