Hello everyone. I’m new to Auth0 and I need help about something. Let’s say I have 4 locales in my website. Should I handle them with 4 client id and domain or is there a way to handle it more easily? Because if I use different client id and domain for each I will need to handle them in auth0 client and also the callback functions after successful login.
Thanks in advance
Hi @serhat.keles7,
Welcome to the Auth0 Community!
The Auth0 Universal Login experience is localized to multiple languages. Please see here for more: Universal Login Internationalization
If the scope of this question is limited to the Auth0 aspect of your app, you shouldn’t need to create four different clientIDs and handle switching them.
Please let me know if I am misunderstanding or if you have any additional questions!
Best,
Mary Beth
Thank you for the response. My issue is more like different databases for different locales. I mean login from mydomain.com/en and mydomain.com/de should be stored in different databases. I thought maybe I can create auth0Client dynamically according to locale and set different clientId for each locale but if there is a simpler solution I’d like to hear.
Thanks