How can I change login page language in OAuth2 Single Sign On?
Currently I have a URL like below:
Is this a URL param? Is this a configuration option I have to send when receiving the token? Is this a settings anywhere in Auth0 configuration? I could not find any information about this on web.
Here is the solution:
Go to Auth0 Management Console
On left sidebar select Universal Login
Go to Login tab
Click on Customize Login Page
In HTML tab find the line:
Change it to your language code. For a list of language codes see [https://auth0.com/docs/libraries/lock/v11/i18n](http://Lock Internationalization)
You can also get the language from the callback url provided by your application. In our case it was:
language: config.callbackURL.split('/') .replace('at','de') .replace('cz','cs') .replace('dk','da') .replace('ch-fr','fr') .replace('ch-de','de') .replace('ch-it','it') .replace('uk','en'),
Thanks a lot for shaaring it with the rest of community!
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.