Build a Delegated Admin Interface with My Organization API
Describes how to use Universal Components to build delegated administration interfaces with Auth0’s My Organization API.
Universal Components allows you to build a self-service administrative dashboard within your own application. This enables your B2B customers delegated as administrators to your Auth0 Organization to manage their own branding, identity providers, and verified domains without the need to access Auth0 Dashboard or require a support team for basic administrative actions.
Universal Components leverages the My Organization API, which operates on user-scoped tokens, to create a Self-Service SSO Administrative Dashboard. When an administrator logs into your dashboard embedded in your application, the Auth0 SDK retrieves an Access Token containing Organization-specific scopes for admin privileges. The components use this token to call the API as the logged-in user, ensuring delegated administrators can only modify the specific Auth0 Organization to which they belong.
Configure the following settings:
A. Connection Profile: Select or create a profile with connection attribute mappings.
B. User Attribute Profile: Select or create a profile with user attribute mappings.
B. Supported Identity Providers: Enable providers your customers can use.
C. Connection Deletion Behavior: Choose Allow or Allow if Empty.
Allow: Users can delete connections, which deletes all users from that connection.
Allow if Empty: Users can only delete connections with no users.
D. User Access Authorization: Choose Unauthorized, Authorized, or All.
Unauthorized: No permissions allowed.
Authorized: Select specific permissions.
All: Include all existing and future permissions.
E. Client Credential Access Authorization: Choose Unauthorized, Authorized, or All.
The user’s token will only include permissions that exist in both their assigned role and the User Access Authorization settings configured in the previous step.
Configure the Auth0 Organization:
A. In Members: Add your test user and assign the “Organization Admin” role.
B. In Connections: Enable your database connection.
You are responsible for ensuring that your use of the My Organization API and Embeddable UI Components comply with your security policies and applicable
laws, including any permissions granted to your end users.
User must be authenticated and a member of the Auth0 Organization. Components automatically load Organization data from current user context. To learn more, read Auth0 Universal Components for installation and Auth0ComponentProvider configuration
Auth0 Dashboard Configuration - Complete all steps below before using My Organization components.
Configure the following settings:
A. Connection Profile: Select or create a profile with connection attribute mappings.
B. User Attribute Profile: Select or create a profile with user attribute mappings.
B. Supported Identity Providers: Enable providers your customers can use.
C. Connection Deletion Behavior: Choose Allow or Allow if Empty.
Allow: Users can delete connections, which deletes all users from that connection.
Allow if Empty: Users can only delete connections with no users.
D. User Access Authorization: Choose Unauthorized, Authorized, or All.
Unauthorized: No permissions allowed.
Authorized: Select specific permissions.
All: Include all existing and future permissions.
E. Client Credential Access Authorization: Choose Unauthorized, Authorized, or All.
The user’s token will only include permissions that exist in both their assigned role and the User Access Authorization settings configured in the previous step.
Configure the Auth0 Organization:
A. In Members: Add your test user and assign the “Organization Admin” role.
B. In Connections: Enable your database connection.
You are responsible for ensuring that your use of the My Organization API and Embeddable UI Components comply with your security policies and applicable
laws, including any permissions granted to your end users.
User must be authenticated and a member of the Auth0 Organization. Components automatically load Organization data from current user context. To learn more, read Auth0 Universal Components for installation and Auth0ComponentProvider configuration
Auth0 Dashboard Configuration - Complete all steps below before using My Organization components.
Configure the following settings:
A. Connection Profile: Select or create a profile with connection attribute mappings.
B. User Attribute Profile: Select or create a profile with user attribute mappings.
B. Supported Identity Providers: Enable providers your customers can use.
C. Connection Deletion Behavior: Choose Allow or Allow if Empty.
Allow: Users can delete connections, which deletes all users from that connection.
Allow if Empty: Users can only delete connections with no users.
D. User Access Authorization: Choose Unauthorized, Authorized, or All.
Unauthorized: No permissions allowed.
Authorized: Select specific permissions.
All: Include all existing and future permissions.
E. Client Credential Access Authorization: Choose Unauthorized, Authorized, or All.
The user’s token will only include permissions that exist in both their assigned role and the User Access Authorization settings configured in the previous step.
Configure the Auth0 Organization:
A. In Members: Add your test user and assign the “Organization Admin” role.
B. In Connections: Enable your database connection.
You are responsible for ensuring that your use of the My Organization API and Embeddable UI Components comply with your security policies and applicable
laws, including any permissions granted to your end users.
User must be authenticated and a member of the Auth0 Organization. Components automatically load Organization data from current user context. To learn more, read Auth0 Universal Components for installation and Auth0ComponentProvider configuration