Redirection to login site not working

Hi @emy,

Welcome to the Auth0 Community!

I understand that you’ve experienced issues with trying to get to the login page.

It looks like the redirect_uri is part of the authorizationParams. With that said, I recommend specifying your Auth0Provider, something like the following:

<Auth0Provider
  domain={domain}
  clientId={clientId}
  authorizationParams={{ redirect_uri: window.location.origin }}}>
  <MyApp />
</Auth0Provider>

(Reference: Auth0Provider | @auth0/auth0-react)

Please let me know how this goes for you.

Thanks,
Rueben