Hi, I'm trying to validate device token generated on app which is signed by Enterprise account.
- I generate deviceToken on device
- I send the token to our backend
- Our backend creates JWT token
- The backend calls
validate_device_tokenendpoint and receives401The authentication token can't be verified
I've seen many implementations on the internet and I'm pretty sure that we generate the token in correct way. (eg implementation: https://github.com/marinosoftware/DeviceCheckSample)
The Questions are:
- Is it possible to use DeviceCheck on Enterprise Account ?
- There is no possibility to enable DeviceCheck on Enterprise account is APNs key configuration: https://developer.apple.com/account/resources/authkeys/list. Is this configuration required ?
- Is there is a way to validate signature of JWT token locally ? Services such as https://jwt.io requires Public and Private keys in correct format, I didn't find a way to validate the signature signed by p8 certificate without any additional keys.