Note: This tool generates a JWT token signed with your private key to authorize calls
to the WeatherKit API.
If you're encountering 401 errors, make sure:
- Your WeatherKit service has been properly provisioned in your developer account
- The private key file is the correct one for WeatherKit (not a different service)
- The Team ID, Service ID, and Key ID are all entered correctly
- Your service ID is enabled for WeatherKit in your developer account
The browser-based testing function doesn't work due to CORS restrictions. Use the provided example
code instead.