Auth0 Home Blog Docs

What is the better way to implement Auth0 for my multi-country site?

multiple-domains
multiple-accounts

#1

Hi again!
I have a site with multiple parked domais, one for country (like: my-domain.com, my-domain.com.mx, my-domain.com.co…). What is the best way to implement Auth0? Should I create one application per country? Or exists another way?
Note: I can create a user with email user@domain.com in my-domain.com and I can create the same user (user@domain.com) in my-domain.com.mx… in this case this user will be duplicate… I need this.

Thanks!


#2

Your requirement to allow users to register multiple times in different countries means that you will need to use multiple connections. One way you could structure it is to have a client (application) per country, with it’s corresponding connection. E.g.

Application1 > Connection1
Application2 > Connection2

This way, a user who registers with application1 (using Connection1), can also register for application2 (using Connection2) with the same email address.


#3