Can not Login With Google Social on a Custom Domain

Problem Statement

We have set up to use Custom Domain. Logging in using username and password (Username-Password-Authentication connection), all is working fine. But when login in by Google Social, the authentication failed, and users received the error:

You may have pressed the back button, refreshed during login,
opened too many login dialogs, or there is some issue with cookies,
since we couldn't find your session.

The issue is that Auth0 is getting redirected to the *** (default) tenant domain instead of the configured Custom Domain and thus loses the authentication data.


Please check Chrome Inspector for google social login and see if it has Developer keys. To solve this issue, we need to set up Production keys for Google Social connection or disable Custom Domain.

1 Like