Setup secure authentication with iOS privacyIDEA Push Token

Hi cornelinux,

It seems that there is a problem with ios apps.
We succesfully enrolled the push token with the guide.

Android is working fine but with the ios app, only one token seems to work. If i test the token it gives error

message “ERR401: Failed to submit message to firebase service.”

In the log file i see:

“error”: {
“code”: 404,
“message”: “Requested entity was not found.”,
“status”: “NOT_FOUND”,
“details”: [
{
@type”: “type.googleapis.com/google.firebase.fcm.v1.FcmError”,
“errorCode”: “UNREGISTERED”

Any idea what causes this? if i reregister the push token it works again.

EDIT:

I seems like i used the wrong api key for ios. Changed it to the one it shoud be and now it works.
Kind regards

EDIT 2: I thought it was working but now i get the same error

Rob