Hi, as part of some work I’m doing to migrate from Rules to Actions I need to replicate some code that we have that adds the users permissions to the Id token, so that the UI can show the correct features. Looking at the docs for Actions we have easy access to a user’s roles, put nothing to allow access to permissions, which seems and odd ommission. I’d rather avoid having to make a call into the management API as that’s more of a pain in an Action than a Rule, and isn’t recommended. Has anyone got any other options, or things I might have missed?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Adding user permission to the id-token | 1 | 6475 | March 23, 2023 | |
| Add permissions to access token in actions (September 2023, rules are deprecated) | 3 | 2800 | October 2, 2023 | |
| How to include privileges in the ID token for conditional UI rendering? | 6 | 190 | April 7, 2025 | |
| Action Login Flow - Not able to enrich the access token with the user's permission | 8 | 1538 | October 5, 2023 | |
| Authorization Extention Migration from Rules to Actions | 7 | 285 | December 5, 2024 |