Error WE'RE SORRY, SOMETHING WENT WRONG WHEN

Hello, wen i try login in my angular app, i get error “WE’RE SORRY, SOMETHING WENT WRONG WHEN ATTEMPTING TO LOG IN.” Although 3 days ago everything worked very well, during these three days I did not change anything in the file related to authentication.
This is what is displayed in my chrome console.

I tried deleting cookies and logging in from another browser, as well as disabling Anomaly Detection, but the problem is still there. These login attempts are not displayed in the logs.

I’m assuming that you’re using universal login, because the endpoint in the screenshot can only really be used through universal login and you say you already had this working.

With the above in mind the most likely cause for the issue is that you may have customized the hosted login page (https://manage.auth0.com/dashboard/[REGION]/[TENANT]/login_page) in an incorrect way.

For example, messing with the auth configuration of Lock:

      auth: {
        redirectUrl: config.callbackURL,
        responseType: (config.internalOptions || {}).response_type ||
          (config.callbackOnLocationHash ? 'token' : 'code'),
        params: config.internalOptions
      }

In particular, removing the specific setup based on internal options can lead to 403’s on that endpoint.

You should revert the hosted login page to the default version and check if you still experience the error; if not, then you need to review your customization to ensure you don’t change how internal options are set.

1 Like

Thank you very much, it seems to have solved my problem.

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