Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I change the title heading shown in Auth0 Lock?

Tags:

angular

auth0

I want to change the default heading value of Auth0 displayed in Lock; see following image.

enter image description here

like image 693
Narayana Avatar asked Dec 06 '16 10:12

Narayana


People also ask

What is lock Auth0?

Lock is an embeddable login form that can be configured to your needs and is recommended for use in single-page apps, preferably in conjunction with Universal Login, which should be used whenever possible.

How do I disable Auth0 signup?

To do so, you will need to go to your Auth0 Dashboard > Branding > Universal Login > Login Page and include a condition in your custom login page script to disable the signup option for your mobile app.


1 Answers

Assuming you're using the latest version of Lock (Lock 10) you can customize any text shown by Lock through the languageDictionary object.

var options = {
  languageDictionary: {
    title: "[YOUR_TEXT_HERE]"
  },
};

Check the documentation for additional information on how to use this object.

like image 174
João Angelo Avatar answered Sep 21 '22 06:09

João Angelo