Skip to content

Commit

Permalink
Remove default value
Browse files Browse the repository at this point in the history
  • Loading branch information
DonOmalVindula committed Oct 25, 2024
1 parent 9f39c15 commit b6fb50c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/helpers/authentication-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ export class AuthenticationHelper<T> {

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 () => {
Expand Down

0 comments on commit b6fb50c

Please sign in to comment.