Closed martincostello closed 7 months ago
Unless it's because of my office's DNS, I couldn't get
oauth.battlenet.com.cn
to resolve, so I left the URLs for China as they were.
Yeah, I noticed the same thing when testing the OpenIddict implementation. It just seems this domain name - that has a CNAME entry that points to AWS China - is not resolvable everywhere: https://www.whatsmydns.net/#CNAME/oauth.battlenet.com.cn
I figured it was better to let people just switch the region so if they de-split it again, then we don't need to change anything in the code at all, people just change their Region
value back to one of the original ones. If we change all the field values and they de-unify, then we need to do a new release to change them back again.
I figured this was a good middle ground of back-compat and not preventing the use of the unified regions at all.
Yeah, it's a reasonable compromise 👍🏻
Implemented based on https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers/issues/812#issuecomment-1789607922.
Unless it's because of my office's DNS, I couldn't get
oauth.battlenet.com.cn
to resolve, so I left the URLs for China as they were.I don't actually have a BattleNet account so I haven't tested this against the actual server.
Resolves #812.