Auth0 Home Blog Docs

Hoe to debug "WE'RE SORRY, SOMETHING WENT WRONG WHEN ATTEMPTING TO LOG IN." error?

lock-10
error

#1

I forked this example on Github. After setting auth0-variables and add http://localhost:4200 to allowed callback url. The sample project doesn’t let me login with my own verified email and password. However, it works fine with “Log in with Google”.
There’s no error message in the console and I can use my own email to login in connection-> database -> try connection.


#2

Please update your question with the link to the example repository you’re using.


#3

the example repo can be found here
https://github.com/BoZhaoUTSC/example

thanks


#4

The sample in question is using Lock embedded in the client application itself and with the oidcConformant option enabled which is correct and supported since Lock 10.22 version.

However, that requires additional configuration on the client application side so that is likely the most probable cause of the issue. In particular, you should review the settings related with cross-origin authentication (see the reference docs for how to configure your client for cross-origin authentication).

If that is not the source of the issue, you should include more information about the actual error and not just the message, for example, check the network trace for failed requests or JavaScript console errors.


#5