Universal Login With Custom Domain

When I select Customize Login Page, I’m getting this message when trying to log in:

image

We are using a custom domain, but the Universal Login options page displays this message:
The universal login page will be served by default at [auth0 domain] . You can use your own domain by configuring it in Custom Domains.

How do I configure Universal Login so that it’s served from the custom domain?

1 Like

Hello!

Could you make sure that you follow the steps described in this document? (if you are using universal login).

Notice that to be able to utilise custom domains, additional configuration is required.

Thank you.

1 Like

Hi Lucas! I was following the steps in that document, but based on your suggestion I read it again and found the missing step. I saw the following snippet in the document but overlooked that it was commented out :smile:

  /* additional configuration needed for custom domains
  configurationBaseUrl: config.clientConfigurationBaseUrl,
  overrides: {
    __tenant: config.auth0Tenant,
    __token_issuer: '[issuer url]'
  }, */

After uncommenting the code block, all works well. Sometimes you just need another pair of eyes!

Thanks for your help!

2 Likes

Perfect! Glad to hear that and thanks for sharing with the rest of community!

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