I want to change the default heading value of Auth0
displayed in Lock; see following image.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With