Auth0 Home Blog Docs

Custom Domain (Universal Login / auth0.js)

I have followed the steps to create an custom domain for auth0. I am calling authenticate with auth0.js. I have updated the domain to be my new custom domain, however am getting the “you should not be hitting this endpoint” issue. I see the solution for it is as follows:

overrides: {
__tenant: config.auth0Tenant,
__token_issuer: config.authorizationServer.issuer
},

However I have no idea how to get the values for config.auth0Tenant or config.authorizationServer.issuer. The current config I am using is save in a nearby file and has just audience, domain, clientId, callbackUrl.

How can i get the values for tenant and token issuer??

Hi @krake

Those overrides should be placed inside the Universal Login page using the Auth0 Admin dashboard, and the Universal Login page automatically adds those values to the config it provides.

1 Like

That is correct. Thank you for sharing knowledge here @charsleysa!