Hello PrivacyIDEA community,
I am facing an issue when trying to enroll push tokens.
- When creating a push token, I receive:
missing enrollment policy for push token (push_firebase_configuration)
- Right after, I also get:
error fetching policy templates
- Using the CLI,
pi-manage policy listshows an empty list:
# pi-manage policy list
[]
-
However, in the web UI, the policies are displayed correctly.
-
I also verified directly in the database that the policies exist:
SELECT id, name, active, scope, realm, action FROM policy;
Output from SQL for pushenroll:
| id | name | active | scope | realm | action |
|---|---|---|---|---|---|
| 7 | pushenroll | 1 | enrollment | defrealm | max_token_per_user=4, push_firebase_configuration=SP-Firebase, push_max_token_per_user=4, push_registration_url=https://192.168.1.145/ttype/push, push_ssl_verify=0, radius_max_token_per_user=4, registration_max_token_per_user=4, tokenissuer={serial} |
It seems there is a mismatch between what the CLI (pi-manage) sees and what the web UI / database shows.
Questions:
-
How can I make
pi-managerecognize the existing policies? -
Could this mismatch be causing the “missing enrollment policy for push token (push_firebase_configuration)” error?
-
Any tips to troubleshoot
error fetching policy templatesin this context? -
how can i resolve the issue, to be able to enroll the push token ?
Thank you in advance for your help!



