I’m running into an issue for both Auth0 SDK v9, and Lock v11. I’m running the QuickStart tutorial for React, with Node v9.7.1 on MacOs.
I have a 2 connections set-up for this client: a SAMLP enterprise connection, and a database connection (using the one provided by Auth0). The enterprise connection has an associated email domain (we can call it
With the above, the sign-up tab of the widget works as expected. If I enter a @company.com email, the password field collapse and I am can redirect to the identity provider, and I can sign-up correctly.
When I activate the “Requires username” on the database connection, the sign-up form now has the extra username field. When i enter a @company.com email, the password and username fields don’t collapse anymore (which is my expectation of how it should behave). If I try to sign-up using a @company.com email, fill in the username and password fields, and press submit, I am presented with an error message:
Here’s the HAR file: auth0-bug.har (791.7 KB)
- Use the React Quickstart repo, set up a SAMLP connection & a database connection with username required.
Let me know i there’s anything i can provide to help debug this issue,