Switched to custom domain but test still sends auth0 domain as callback

We have a custom domain setup and have non-development keys for Google social. The callback has been set there to the custom domain as well. However, when hitting the “Try Connection” button for Google, the error “Error 400: redirect_uri_mismatch” appears. Looking at its details, the redirect_uri is still using the auth0.com URL. Gave it several hours, still happening.

Hi @stackref-kmcduffee

Thanks for getting in touch with us at Auth0 Community.

The Try button within connections actually uses the tenant’s canonical domain as opposed to the custom domain if one is setup. To test you would need to either try the connection from one of your applications that uses the custom domain or you can try this method https://community.auth0.com/t/try-button-for-any-sso-connection-has-trouble-with-redirect-uri/91004

Warm regards.

1 Like

Thanks @SaqibHussain . It seems clunky to have to do that, but thanks for the suggestion and reasoning.

1 Like

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