Server_error: Unable to issue redirect for OAuth 2.0 transaction - please help :)

I am trying to implement auth0 to my angular application. Everything is working right up until when I login. I login through google and the error message in the title. Here is my code:

AuthModule.forRoot( {
  domain: '(hidden)',
  clientId: '(hidden)',
})

I have set the allowed callback URLs as: http://localhost:4200
Allowed logout URLs as: http://localhost:4200
And allowed web origins as: http://localhost:4200

Can anyone help?

adding:

      authorizationParams: {
        redirect_uri: window.location.origin
      }

Solved the issue.

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