I want to choose language of auth0 login in browser! How can I do that?
You can make changes to the Hosted Login Page via your Auth0 Dashboard under Hosted Pages
Just to explain this a bit further, since it took me some time to figure it out. If you pass language parameter in authorize call:
auth0.webAuth.authorize({..., language: 'sv'})
Then on hosted page script the language parameter will be in
config.extraParams.language
And you can pass it as an option when creating Auth0Lock inside hosted script.
Will have this added to docs.
Most helpful comment
Just to explain this a bit further, since it took me some time to figure it out. If you pass language parameter in authorize call:
auth0.webAuth.authorize({..., language: 'sv'})Then on hosted page script the language parameter will be in
config.extraParams.languageAnd you can pass it as an option when creating Auth0Lock inside hosted script.