Admin Widgets
Descope Admin Widgets provide powerful components that enable administrators to manage their organization's users, roles, access keys, and audit logs. These widgets allow administrators to handle various management tasks directly within your application.
To use the admin widgets, a user needs a role that carries the "User Admin" permission for that tenant. The built-in "Tenant Admin" role includes this permission.
To narrow access further, set required permissions on an individual widget so only admins holding those permissions can see and use it.
Individual components within any widget, including these, can also be conditionally hidden, disabled, or made read-only per user based on their identity — see Conditional Widget Components.
Overview
Admin Widgets are designed to handle different aspects of administrative management:
- User Management Widget: Enables administrators to manage user accounts, including creating, editing, and managing user access.
- Role Management Widget: Allows administrators to create and manage roles and their associated permissions.
- Access Key Management Widget: Provides tools for managing machine-to-machine access keys.
- Audit Widget: Offers visibility into user actions and system events through comprehensive audit logs.
- Tenant Profile Widget: Allows administrators to manage the profile attributes of their tenant.
User Management Widget
The User Management Widget provides administrators with comprehensive tools to manage user accounts within their organization. This widget enables administrators to:
- Create new user accounts
- Edit existing user information
- Set, update, or clear a user's recovery email and recovery phone number
- Activate or disable user accounts
- Reset user passwords
- Remove user passkeys
- Delete user accounts
- See how each user was provisioned (SSO via SAML/OIDC, or SCIM)
You can also add functionality to perform custom logic on users by adding a custom button to the widget, and modifying the flow for the button. This includes running bulk actions on multiple selected users, editing roles for a single selected user, or editing a widget user's details.
Note
Custom fields will also appear in the user management table.
Note
A recovery email or phone number set through this widget is marked verified immediately, since the value comes from a trusted admin. This differs from the self-service User Profile Widget, where the end-user must verify a new recovery value before it's shown as set.

Lock Reason and User Filters
The User Management Widget's Lock Reason column shows the method responsible for an automatic lock. Locked - Passwords, Locked - TOTP, Locked - Recovery Codes, and Locked - Security Questions identify users disabled after too many failed attempts. Their Status remains Disabled until an admin enables them. Disabling a user through an admin action, API, flow, SCIM, or import does not itself set a lock reason.
Temp. Locked - Passwords, Temp. Locked - Recovery Codes, and Temp. Locked - Security Questions identify temporary method locks. The lock clears when it expires. The user's status remains Active unless an admin changes it separately. There is no temporary TOTP lock option.
To narrow the users shown in the widget, use its Locked and Temporarily Locked filters. Select one or more methods in either filter to find users locked by any selected method. Locked offers Passwords, TOTP, Recovery Codes, and Security Questions. Temporarily Locked offers Passwords, Recovery Codes, and Security Questions. These filters apply to user rows, not to the columns selected in the Design tab below. The Console Users table shows the same lock reasons and filters.
Filtering Columns
You can add, remove, and sort the columns shown in the widget from the Design tab.

Filtering Users
You can add a Filter control to the User Management Widget that narrows the table to users matching one or more criteria. Filtering is available on the User Management Widget only, not on the Audit Widget, Role Management Widget, or Access Key Management Widget. The Filtering Columns section above controls which columns the table shows, while this section controls which users it shows. To find users locked by a specific authentication method, see the Locked and Temporarily Locked filters in Lock Reason and User Filters.
1. Add the Filter button
- Go to the Widgets page in the Descope Console and open the User Management Widget for editing.
- In the Components panel on the left, open the Buttons section.
- Drag the Filter button onto the canvas.

2. Choose filterable columns
- Select the Table element on the canvas.
- Open the Behavior tab, then the General section.
- In Filterable columns, standard user fields such as Login ID, Name, Email, and Status are selected by default. Remove any you don't want admins to filter on, and add any custom attributes you want to filter by.
Note
Custom attributes are not included by default. Add them in Filterable columns before they appear as filter options. Date and month-day attributes can't be used as filters.

3. Save
Click Save in the top toolbar to save and apply your changes.
Using the filter
Once added, admins can build a filter from a Field, Operator, and Value row. The operators depend on the field. Text fields such as Name or Email offer matching options like Contains and Starts with, Status and Roles offer Is any of, and custom attributes offer Equal (or Is any of for multi-select attributes) and Is empty.

Note
Filtering by tenant is not supported. The table already shows the users of the tenant the widget is configured for.
Configuring Cross-Tenant Attribute Edits
By default, when a Tenant Admin views a user from a different tenant than their own (cross-tenant), the widget only lets them view that user's profile and assign or remove their tenant roles—not edit the user's other attributes.
To also allow editing user attributes across tenants:
- Go to the Widgets page in the Descope Console and open the User Management widget.
- Click the gear/settings icon and toggle on Allow cross-tenant attribute edits.
- Save the widget.

import { UserManagement } from '@descope/react-sdk';
...
<UserManagement
widgetId="user-management-widget"
tenant="tenant-id"
form={{ myKey: 'myValue' }} // optional: forwarded to widget flows as {{form.myKey}}
client={{ myKey: 'myValue' }} // optional: forwarded to widget flows as {{client.myKey}}
onReady={() => {
console.log('Widget is ready');
}}
/>Role Management Widget
Note
Delegating permission and role creation to tenant admins requires having delegation roles created and associated to the tenant admin. An example can be shown here.
The Role Management Widget enables administrators to create and manage roles within their organization. This widget allows administrators to:
- Create new roles
- Modify existing role permissions
- Duplicate existing roles
- Delete roles
You cannot modify any underlying behavior of the role management widget components, as there are no default flows to modify.
Note
The duplicate button is not present by default. Add it from the Buttons category in the widget editor.
Notes
- The
Editablefield is determined by the user's access to the role - meaning that project-level roles are not editable by tenant level users. - You need to pre-define the permissions that the user can use, which are not editable in the widget.
- To duplicate a role, select a single role in the table and click Duplicate. This opens the role form pre-filled with the source role's name, description, and permissions; the name defaults to the original with "Copy" appended.

import { RoleManagement } from '@descope/react-sdk';
...
<RoleManagement
widgetId="role-management-widget"
tenant="tenant-id"
onReady={() => {
console.log('Widget is ready');
}}
/>Access Key Management Widget
The Access Key Management Widget provides tools to manage Access Keys for machine-to-machine authentication. This widget enables users to:
- Create new access keys
- Activate or deactivate existing access keys
- Delete access keys
Supported Use Cases
The Access Key Management Widget automatically adapts its behavior based on the user's permissions and tenant association.
Users with a valid JWT, who are not associated with a tenant, can generate and manage access keys for themselves, with keys automatically bound to their user identity.
For users associated with a tenant (including Tenant Admins), the widget allows them to generate and manage their own access keys within the tenant context. However, users with the Tenant Admin role have additional capabilities—they can generate and manage access keys on behalf of other users in their tenant, with these keys bound to the target user rather than the admin who created them.
The widget automatically determines which functionality to display based on whether the user has the User Admin or Tenant Admin permission, their tenant association, and their role and permission level.
You cannot modify any underlying behavior of the access key management widget components, as there are no default flows to modify.
Configuring Access Keys Widget Usage
The three use cases described above aren't all enabled at once. You can configure the widget itself with whichever ones it supports:
- On the Widgets page, find the User Access Key Management widget, click the three-dot menu (
⋮), and select Settings. - Under Access Keys Widget Usage, choose which use case(s) the widget should support:
- Tenant administrators - allows tenant admins to manage the access keys for their entire tenant
- Tenant users - allows tenant users to manage their own access keys
- Application users - allows application users (not associated with a tenant) to manage their own access keys
- Save the widget.
Note
Only access keys created through this widget are automatically bound to a user (see Associating Access Key to Users).
This matters if an Access Key JWT Template's custom claims reference a user.* dynamic value, such as {{user.userId}}. That value can only resolve for access keys that have a bound user.

import { AccessKeyManagement } from '@descope/react-sdk';
...
<AccessKeyManagement
widgetId="access-key-management-widget"
tenant="tenant-id"
onReady={() => {
console.log('Widget is ready');
}}
/>Audit Widget
The Audit Widget provides administrators with visibility into user actions and system events. This widget includes all tenant authentication events and custom audit events, allowing administrators to:
- Monitor user activities
- Track system events
- Review authentication attempts
- View custom audit events
- Export audit events
You cannot modify any underlying behavior of the audit widget components, as there are no default flows to modify.
When creating the widget, you can configure the Visible event types, where you can define a list of events you would like to include in the widget. By default, all audit events will be visible.

Filtering Columns
You can filter the columns that are displayed in the audit widget by selecting or removing Columns under the Design tab on the right, under Content.

import { AuditManagement } from '@descope/react-sdk';
...
<AuditManagement
widgetId="access-key-management-widget"
tenant="tenant-id"
onReady={() => {
console.log('Widget is ready');
}}
/>Tenant Profile Widget
The Tenant Profile Widget enables tenant administrators to manage their tenant's properties and configuration. This widget allows administrators to:
- Update the tenant name
- Modify custom attributes for the tenant
- Manage email domains associated with the tenant
- Configure SSO enforcement settings, including modifying an SSO exclusion list
- Access SSO configuration, including generating and revoking a link for the tenant's SSO Setup Suite
- Configure the tenant's password policy
- Configure the tenant's session management settings
You can modify the behavior of the tenant profile widget functions by modifying the default flows for each component in the widget. You cannot, however, add custom buttons to the widget.

Custom Action Icons
Each attribute row in the Tenant Profile Widget uses Descope's default icons for its Edit and Delete buttons. You can override these with your own icons on a per-attribute basis (for example, using different icons for SSO Exclusions than for Enforce SSO) from the widget editor's Design tab.
- Open the Tenant Profile Widget in the Console, select the attribute row to customize, and go to the Design tab.
- Expand the Edit button or Delete button accordion (they're independent, so you can customize one without the other).
- Click the pencil icon, then upload a custom icon for the button. You can upload separate icons for light and dark themes.
![]()
Note
Each uploaded icon must be under 20KB.
The same accordion also includes an Edit button text or Delete button text field, which sets the button's label. This is a separate setting that does not affect the icon.
import { TenantProfile } from '@descope/react-sdk';
...
<TenantProfile
widgetId="tenant-profile-widget"
tenant="tenant-id"
form={{ myKey: 'myValue' }} // optional: forwarded to widget flows as {{form.myKey}}
client={{ myKey: 'myValue' }} // optional: forwarded to widget flows as {{client.myKey}}
onReady={() => {
console.log('Widget is ready');
}}
/>User Widgets
Learn about Descope user widgets that enable end-users to manage their profiles, authentication methods, and application access.
Admin Portal
Learn how to use the Descope Admin Portal to provide users and tenant admins with a hosted identity management experience built from Descope widgets.