We have successfully gotten Android Push tokens working in our environment and have added the iOS project IDs to our privacyIDEA config. We have also setup an APNS key within Firebase to allow us to use Apple’s push notification servers.
However, when attempting to use a push token assigned to an iOS device, the below error occurs.
[2019-10-08 16:04:29,162][11989][139956920170240][WARNING][privacyidea.lib.smsprovider.FirebaseProvider:100] Failed to send message to firebase service: {
"error": {
"code": 401,
"message": "Auth error from APNS or Web Push Service",
"status": "UNAUTHENTICATED",
"details": [
{
"@type": "type.googleapis.com/google.firebase.fcm.v1.FcmError",
"errorCode": "THIRD_PARTY_AUTH_ERROR"
}
]
}
}
I am assuming this is due to the fact that the AppID utilized by the privacyIDEA Authenticator is not attached to our APNS key in any way. I am in the process of compiling the source of the authenticator with a development provisioning profile under our ADC account to test this but wanted to at least bring this up for discussion in case I’m just doing something incorrect.