Configured Custom Domain - What Next?

Hi All,

Hi,

I successfully configured a custom domain ‘mydomain.co.uk

We are currently configuring and testing a customised Universal Login page that is still using ‘our-org-sso.eu.auth0.com’.

In the html of our custom login form we have :

var params = Object.assign({
          overrides: {
            __tenant: config.auth0Tenant,
            __token_issuer: config.authorizationServer.issuer
          },
          domain: config.auth0Domain,
          clientID: config.clientID,
          redirectUri: config.callbackURL,
          responseType: 'code'
        }, config.internalOptions);

Is this were we update the domain to use our custom one?

Any advice appreciated.

Many thanks,
Fiorano

Our team is answering some frequently asked questions.

I would recommend using the Auth0.js library (Auth0.js v9 Reference). Here is an example to illustrate a possible solution when using a custom domain for a customized UL login page:

var webAuth = new auth0.WebAuth({
  clientID: config.clientID,
  domain: config.auth0Domain,
  ...
  overrides: {
  	__tenant: config.auth0Tenant,
  	__token_issuer: config.authorizationServer.issuer
  },
  ...
});

(Reference: Configure Features to Use Custom Domains)

Here are some more FAQs:

Hope this helps!