From 7508a5f6fd2dcd3ff52d32e818a665c9b9a881df Mon Sep 17 00:00:00 2001 From: chris Date: Mon, 19 Nov 2018 10:01:43 +0100 Subject: [PATCH] do not redeclare nonce variable, otherwise it will not be attached to the url --- projects/lib/src/oauth-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {