From b6fb50ce746a1c53bd079196db79a96e26f540b8 Mon Sep 17 00:00:00 2001 From: DonOmalVindula Date: Fri, 25 Oct 2024 13:54:51 +0530 Subject: [PATCH] Remove default value --- lib/src/helpers/authentication-helper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/helpers/authentication-helper.ts b/lib/src/helpers/authentication-helper.ts index e54acc1b..ec2f96cb 100644 --- a/lib/src/helpers/authentication-helper.ts +++ b/lib/src/helpers/authentication-helper.ts @@ -291,7 +291,7 @@ export class AuthenticationHelper { parsedResponse.created_at = new Date().getTime(); - const shouldValidateIdToken: boolean = (await this._config()).validateIDToken ?? true; + const shouldValidateIdToken: boolean | undefined = (await this._config()).validateIDToken; if (shouldValidateIdToken) { return this.validateIdToken(parsedResponse.id_token).then(async () => {