Stream Auth0 Tenant-Level RBAC Role Events

Overview

Auth0 does not currently support native Event Streams for tenant-level Role-Based Access Control (RBAC) events, such as role creation, deletion, or user-role assignments. To capture these events in near-real time, configure a Log Stream with a Custom Webhook sink filtered for successful Management API operations. This configuration captures the necessary API calls while native RBAC event streaming support is in development.

Applies To

  • Auth0
  • Event Streams
  • Log Streams
  • Role-Based Access Control (RBAC)

Solution

How are tenant-level RBAC events captured?

Auth0 Event Streams currently only cover organization-scoped role assignments, such as organization.member.role.assigned and organization.member.role.deleted. Native tenant-level RBAC event streaming support, including role.created, role.updated, role.deleted, user.role.assigned, and user.role.deleted, is not currently available.

 

Configure a Log Stream Workaround

Configure a Log Stream with a Custom Webhook sink filtered to capture successful Management API operations by following these steps:

  1. Navigate to the Auth0 Dashboard.
  2. Select Monitoring and choose Streams.
  3. Create a new Log Stream and select Custom Webhook as the sink.
  4. Configure the webhook payload and endpoint details.
  5. Apply a filter to capture only Management API - Success events.

 

This configuration captures the underlying Application Programming Interface (API) calls for RBAC changes, such as POST /api/v2/roles, DELETE /api/v2/roles/{id}, and POST /api/v2/roles/{id}/users.

 

Recommended content

No recommended content found...