Assign Auth0 roles to a user
Use “Assign Auth0 roles to a user” in Recued. It runs the Auth0 role assignment workflow for one user with approval before changes are made.
How it works
Inspect the data fetches, transforms, gates, and output this recipe runs.
Process (13 steps)
user_id
trim
Trim whitespace from setting user id
reason
trim
Trim whitespace from setting reason
user
recued-core.auth0.user.read
Read user on auth0
roles_before_raw
recued-core.auth0.user.role.search
Search user role on auth0
role_catalog_raw
recued-core.auth0.role.search
Search role on auth0
assign_roles
recued-core.auth0.user.role.assign
Assign user role on auth0
roles_after_raw
recued-core.auth0.user.role.search
Search user role on auth0
defaults
defaults
Apply defaults
before_count
count
Count items in roles before
after_count
count
Count items in roles after
role_rows
slice
Take a subset of
role_table
to_table
Format results as a data table
card
to_summary
Format results as a summary card
▼
Output
summary
card
table
role_table
Settings
Configurable at install. Defaults shown — change them anytime in Recued.
reason
setting
=
user id
setting
=
role ids
setting
=
[object Object]
Uses (4 operations)
Pack operation
Read user on auth0
recued-core.auth0.user.read
Pack operation
Search user role on auth0
recued-core.auth0.user.role.search
Pack operation
Search role on auth0
recued-core.auth0.role.search
Pack operation
Assign user role on auth0
recued-core.auth0.user.role.assign
Trust & control
What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.