Auth0 Home Blog Docs

Custom domain code flow

I’m trying to use the Universal login with code flow authorization. Before I used the auth domain

https://{tenant}.eu.auth0.com/authorize?response_type=code&client_id={client_id}&redirect_uri={redirect_uri}&scope=openid&audience={audience}

However, when I try to use a custom domain instead I get the following error.

You should not be hitting this endpoint. Make sure to use the code snippets shown in the tutorial or contact support@auth0.com for help

https://login.mydomain.com/authorize?response_type=code&client_id={client_id}&redirect_uri={redirect_uri}&scope=openid&audience={audience}

It turns out I had a custom login page configured. Too bad the features don’t work together. :tired_face:

1 Like

Thanks a lot for sharing with the rest of community!

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