I have managed this by just making HTTP requests from within my rule - not relying on the auth0 node client. You do need to get a new token that has the appropriate grants. See my responses in the other thread with some example code.
Related Topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Add default Role via Rule after sign up New User does not add this role to the user in the Management Portal | 4 | 2470 | January 19, 2022 | |
Role Based-Access Control on Signup? | 2 | 3634 | March 15, 2021 | |
How to add roles, permissions to a user during signup? | 5 | 17790 | January 9, 2020 | |
Assigning user roles in a rule | 5 | 4861 | January 22, 2024 | |
Assign Roles to users using Rules | 14 | 16088 | March 14, 2020 |