Post

Replies

Boosts

Views

Activity

Mapkit JWT url restriction and Safari Web Extensions
I want to use mapkit JS in a safari web extension I'm creating to show a map. When creating a new JWT I can restrict its use to certain URLs. It is possible to create an unbounded JWT, however this is not advised for production use (I guess for the obvious reason that someone might steal your key and use it themselves). It is possible to create a JWT that is limited to my safari web extension (or, less ideally, all safari web extensions)? Using safari-web-extension:// or safari-web-extension://* as restriction doesn't work. Using the whole web extension url (safari-web-extension://1e70cb50-300c-47b7-898c-5c082f836d7d) works, however this changed to a new random number every time safari is restarted.
0
0
549
Oct ’21