Auth0 node.js sdk client.signup does not follow password policy set in auth0 console


I’m using auth0 node.js sdk and am trying to implement signup with username-password-authentication. I’ve set my password policy in the auth0 console database connection settings to be None.

        connection: 'Username-Password-Authentication',
        password: passwd,
      }, (err, res) => {

I still get the invalid password error saying the password policy mandates One Capital Letter, One Small Letter and a Number (Min of 8 characters)

I don’t know what i’m missing here, any help would be appreciated

Thanks in advance

Hey @binu!

Let’s figure it out. What version of node SDK are you using?

@art.rosnovsky Thanks for the reply. I’m using "auth0-js": "^9.13.4"

Auth0 SDK for Web as mentioned in the link

Hey @binu, sorry about the delay.

I’m having a hard time reproducing this. Is there a demo repo you could share that I can spin up and reproduce this? A link to the website where this happens could also be helpful, but a stripped-down demo repo would be perfect.

This topic was automatically closed 13 days after the last reply. New replies are no longer allowed.