Mapkit JS map initialisation fails from China

Hello,

I am facing an issue with mapkit JS map when it is accessed from China. From other regions maps render and display fine, but when user from China tries it, it throws 401. Signed JWT token is shared for all regions (without origin field) and is still valid and verified on JWT.io (and it works on other regions so it should not be the problem). Does mapkit js work for China users as it is stated that it does?

Thanks in advance,

Marko

Answered by MarkoTodorovic in 772495022

P.S GET https://cdn.apple-mapkit.com/ma/bootstrap?apiVersion=2&mkjsVersion=5.76.106&poi=1 with Postman returns 401 not authorized while on VPN connected to China servers (using the signed mapkit token as bearer token), but is getting the ok response not being on VPN.

Accepted Answer

P.S GET https://cdn.apple-mapkit.com/ma/bootstrap?apiVersion=2&mkjsVersion=5.76.106&poi=1 with Postman returns 401 not authorized while on VPN connected to China servers (using the signed mapkit token as bearer token), but is getting the ok response not being on VPN.

Is there any feedback on mapkit js possible bugs for China? Thanks in advance, Marko Todorovic

I am also thinking about using Mapkit JS in China. Is the issue still there?

Mapkit JS map initialisation fails from China
 
 
Q