I have created a rule that assigns roles based on users ad groups connected in azure ad.
The rule first delete all roles for the user and then assigns new roles based on the mapped ad group data.
I use “request” to call the auth0 management api for the delete and assignment.
My problem is that the calls executes async so somtimes the delete comes after the assignment.
Is it possible to get it synchronously?
If so, can you please show an example.
Best regards Roland