I received a bug report on my customized login page from my collages.
They occasionally encounter “oops!, something went wrong” with an error message below:
access_denied: Password login via OIDC-conformant clients with externally-hosted login pages is unsupported. Alternatively, login could have been initiated from the wrong place (e.g., a bookmark).
I was able to reproduce this issue by double-clicking the login button; basically, when a block of code below get executed more than once:
Hello, @JamieQeexo - welcome to the Auth0 Community!
This is being caused by a race condition. When performing the login attempt, Auth0.js generated a state, but the state is being used twice because of the double click. Since states can only be used once, Auth0 errors out to prevent CSRF.