Customising the lock title

I searched and found a similar closed question but it was not answered correctly and it looks like the question was misunderstood.

I want to do the same as the OP. Our company has a standard classic universal hosted login page.
It seems to use the Auth0 name of the application in the login screen.


This is not very user friendly as the user might not recognise the name of the Auth0 application, and we want to provide a more user friendly name they would recognise.

How can I provide this so that it is presented instead of the default? We are using a standard web app which used the omniauth auth0 gem.

Is there a way I can provide the dict signin title in my app config which will be used on the login screen instead?

Hi @bingobangobongo ,

I think you are looking for the languageDictionary object, and in this case changing the title value to a friendly name different to that set in your application’s settings on the tenant.

If you wanted this to be dynamic, you could add logic to your login page to read the value of config.dict.signin.title , or config.clientID to set the languageDictionary object to your desired title for a given app prior to initialising the Lock widget.

e.g. modify the current logic in the default Lock template for determining title and leave a fallback to the default:

if (config.dict && config.dict.signin && config.dict.signin.title) {
   if (config.dict.signin.title === "App A") {
      languageDictionary = { title: "Friendly App A Name" };
   } else {
      languageDictionary = { title: config.dict.sigin.title }

I hope that helps!