Using Lock - cant customize social connection full text - "sign in with" instead of "sign up with"

Hello,
Im using auth0Lock sdk and want to customize the social connection button text.
I know that i can change the displayName property, but it is not enough, because the text i see on the button is “Sign up with [displayName]”, but i want to change the whole button text. Actually i want to change it to “Sign In with [displayName]”. How can i do it?
all my users are signing in and not signing up, so the button text doesn’t make sense to them.

Thanks
jonathan

Hi @jonathanhip

You can customize the whole text using the languageDictionary property from Lock as:

languageDictionary = { 
  signUpWithLabel: "Sign In with %s"
};

You can read more about it here:
https://auth0.com/docs/libraries/lock/lock-configuration#languagedictionary-object-

1 Like

Great!
thank you very much :slight_smile:

1 Like

No worries! We are here for you!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.