Reputation: 962
I am planning to use Auth0 service for Chinese users. I noticed that there are no servers that are hosted in China, and because of that my main concern is the firewall that China has. Weather my azure hosting web application will be able to access Auth0 in Australia.
https://auth0.com/docs/api/authentication?http#code-samples
I have a server that is in China and was able to call Auth0 api, but I am not sure how reliable that is. As the authentication and authorisation is so critical that the system I am building will stop working once the app can't access the service. Has anyone done the same integration especially for China and can share their experience?
Upvotes: 0
Views: 1529
Reputation: 700
The great firewall of China has blocked many CDN providers such as AWS CloudFront/S3, Google PageSpeed, Cloudflare, etc, causing an outage for some users in the China region. Auth0 uses AWS servers so China may restrict access. It is previously been reported that cdn.auth0.com
fails to load in China.
If you use the Lock library as the login widget from Auth0 CDN, there are workarounds for this.
Lock library references two files:
You would need to change the location where Lock fetches these files using the clientBaseUrl and languageBaseUrl options. Note that any change made to an application configuration means updating the mirror file in your server too.
Upvotes: 2