I am using Auth0 Lock library and I would like to set language when opening login popup, but it seems it’s only possible to set it when instantiating the Auth0Lock.
In our app user can change the language and then click on login and I would like to reflect selected language in login popup.
This sets the language
auth0Client = new Auth0Lock(clientId, domain, {
language: 'cs'
})
Hi, thank you for your reply.
To clarify it:
I am able to set the language via options when I create instance of Auth0Lock, but I can’t do it when I call show() method. It seems to me like a bug in the library. This force me to create new instance of Auth0Lock every time a need to show login popup.