Silent Authentication failure

In our tenant, when we customise universal login’s html to show our branded login dialog, it fails when fetching the token.
If we switch off the customize login page then everything works fine.

We are using @auth0/auth0-react and using useAuth0 to validate if user is logged in and redirect the user with loginWithRedirect.

Does anyone have any pointers on what settings in tenant might be causing this?

Hi @jasdeep.madan

Are you using a custom domain? If you have a custom domain, and switch to customizing the login page, you will need to configure the Lock library in your login page to use the custom domain. Otherwise, the silent auth request will fail as it will happen on a different domain than the one the session cookie was issued for.