diff --git a/src/Auth0Client.ts b/src/Auth0Client.ts index 66d76e501..a79945486 100644 --- a/src/Auth0Client.ts +++ b/src/Auth0Client.ts @@ -497,8 +497,8 @@ export default class Auth0Client { const transaction = this.transactionManager.get(); - // Transaction should have a `code_verifier` to do PKCE and a `nonce` for CSRF protection - if (!transaction || !transaction.code_verifier || !transaction.nonce) { + // Transaction should have a `code_verifier` to do PKCE for CSRF protection + if (!transaction || !transaction.code_verifier) { throw new Error('Invalid state'); }