Rules to Actions migration - user permissions in Id Token

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?

Hi @GFSJohn,

Welcome to the Auth0 Community!

Can you share the rule code you are trying to replicate?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.