Our team is answering some frequently asked questions.
I would recommend using the Auth0.js library (Auth0.js v9 Reference - Auth0 Docs). 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 - Auth0 Docs)
Here are some more FAQs:
https://community.auth0.com/t/custom-domain-configuration-common-questions/82033
Hope this helps!