Hello,
I urgently need help configuring PUSH notifications in PrivacyIDEA. I am able to create a token, but I cannot scan the QR code with the PrivacyIDEA Authenticator mobile app — it shows an error every time.
I should mention that I am using an iPhone. Could this issue be related to iOS? I have read that there might be differences between the iOS and Android platforms when working with the app.
Additionally, I would like to clarify the Firebase configuration. Where can I find the best and most up-to-date instructions for setting up Firebase correctly? And is Firebase strictly required for PUSH notifications, or are there alternative options?
Could you please advise what I should do? Are there any alternative ways to implement PUSH notifications, and if so — which ones?
My PrivacyIDEA version is 3.12.1.
Thank you in advance for your assistance!
Hi, you can not use the “real push” with Firebase unless you get an SLA for the authenticator app because the app is linked to an existing firebase project. However, you can use push token in poll mode, e.g. in the enrollment policy for push you select “poll only”. This means that the app will ask the privacyIDEA server directly if authentication requests are present. But you need to open the app yourself, there will be no notification pushed to your device - that is the convenience you lose.
For configuration, check the policies in the scope ENROLLMENT which are in the push section, you need at least the URL and and the firebase config (=poll only)
1 Like
Hi! Thank you so much — you really helped me solve the issue with Firebase!
There’s just one problem left: I still get an error when scanning the QR code with the PrivacyIDEA Authenticator mobile app — the same error pops up every time.
The error message is: “Sending public key failed.”
I feel like I’ve tried everything at this point and I have no idea what else to do. My PrivacyIDEA server is also in a private network, and I even tried enabling a VPN on my phone so it would be on the same network, but that didn’t help either…
Maybe I misconfigured some policies or didn’t specify the URL correctly. I wrote it like this:
https://<IP of my PrivacyIDEA server>/ttype/push
So if you know what might be causing this or have any ideas, please help…
I’d really appreciate any assistance!
you can also check the log in the app for a more detailed error message. check that you can reach privacyidea from the phone. the url looks correct (ending in /ttype/push).