Find User by Email and Assign Role
A 2-step recipe with Auth0. We can help you get access.
Recipe · 2 steps
Find User by Email and Assign Role
with Auth0 · Identity & Access Management
Resolve a user by email then grant roles when the user exists.
- Search for a user by email address, returning at most the matching records.
- Assign the supplied role ids to the matched user.
What you'll need to have ready
- email: Email address to look the user up by (case-sensitive).
- roles: List of existing role ids to assign when the user is found.
For your developer
Arazzo workflow auth0:find-user-assign-role, 2 operations: get_users-by-email → post_user_roles. Specs on APIs.io.