Auth0 Home Blog Docs

How to troubleshoot "We're sorry, something went wrong..." error

authentication
quickstart

#1

After downloading the sample quickstart login app (01-login.zip) for node.js/express I verified that the .env file has correct value for AUTH0_CLIENT_ID, AUTH0_DOMAIN and AUTH0_CLIENT_SECRET.

Ran npm install then npm start. I login with credentials created from the Auth0’s User, but got message:

WE’RE SORRY, SOMETHING WENT WRONG WHEN ATTEMPTING TO LOG IN.

Are there more setup I need in the sample login app or any misconfiguration on the Auth0 side?


#2

Given the error message needs to be shown to the end-user the contents need to be general and not technical. However, in these situations additional information will most likely be available in the console output available through your browser developer tools.

The information available in the console logs is in general sufficient to pinpoint the exact case of the error. For example, this could be caused by not correctly configuring the respective client in Auth0 Dashboard (check Allowed Callback URLs and Allowed Origins (CORS) settings).

Another important aspect is to ensure that the client identifier configured in the quickstart exactly matches the one you intend to use in Auth0 Dashboard. For example, having multiple client application configured in the Dashboard and then using a client identifier belonging to the incorrect client may lead to subtle issues where you think you correctly configured the client application settings, but the identifier being used is for a client different than the one you configured.


#3