Skip to content
Recued
Menu
← Back to recipes

Assign Auth0 roles to a user

by recued-core v1

Approval-gated Auth0 role assignment workflow for one user. It reads the user, current role assignments, and a bounded role catalog page for context, then calls recued-core.auth0.user.role.assign with the supplied existing role IDs. It does not create roles, mutate role permissions, assign organization-scoped roles, change clients, or call arbitrary Auth0 APIs.

How it works 15 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (15 steps)
user_id trim
Trim whitespace from setting user id
reason trim
Trim whitespace from setting reason
user ?
roles_before_raw ?
role_catalog_raw ?
assign_roles ?
roles_after_raw ?
roles_before default
Apply default
roles_after default
Apply default
role_catalog default
Apply default
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
Settings 4 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

auth0 setting =
reason setting =
user id setting =
role ids setting =

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Where it runs

Device + server Runs on your device (browser) or your server.

Permissions it requires

Read your Auth0 connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

About

Tags

auth0 auth0identityrolesassignmentaccess-governanceapprovalpack:auth0

Details

15 steps 4 configurable settings recipe_id: assign-auth0-roles-to-user