Migration from Rules to Actions Groups

Hopefully someone has gone though this and might have an idea how I might accomplish this
In our rule script we had some code like this below we are parsing groups from a 3rd party and pulling names and matching.

    else if(groupsFromConnection[i] === "Admin'){
       user.groups.push("Admin");
       user.groups.push("Special.Admin");
     }
     else if(groupsFromConnection[i] === "Viewers"){
       user.groups.push("Viewer");
     }

Is there a way to update modify userGroups in actions?

Hi @orbitmobileprod,

Welcome to the Auth0 Community!

It looks like you are using the authorization extension here. The extension isn’t yet supported by Actions, but I would expect to see some guidance before rules fully EOL.

Hope that helps!

Is there a work around?

No, it’s not currently supported.

1 Like

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