> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Auth0 Webhook Setup Guide

> Configure Auth0 to deliver events to StackOne.

## Prerequisites

The connector should already be set up, with a Connector Profile and a Linked Account. See [Getting Started](/connectors/auth0#getting-started) on the Auth0 connector page.

<section data-guide-section data-guide-scopes="">
  <h2>How StackOne sets up Auth0 webhooks</h2>

  <p>Nothing needs configuring in Auth0. When you connect an Auth0 account with events enabled, StackOne creates an event stream automatically and deletes it again when the connection is removed. A single stream carries every event you enable.</p>

  <Steps>
    <Step title="Grant the event stream permissions">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>The application StackOne connects with must be authorized for the Management API permissions that manage event streams. Without them the connection is established but no events are delivered.</p>

        <ul>
          <li>Open your application in Auth0 and authorize it for the <strong>Auth0 Management API</strong>.</li>
          <li>Select `create:event_streams`, which lets StackOne create the stream on connect.</li>
          <li>Select `delete:event_streams`, which lets StackOne remove the stream on disconnect.</li>
        </ul>
      </div>
    </Step>

    <Step title="Check the stream if you need to confirm it">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>The stream StackOne creates is named <strong>StackOne</strong> and is subscribed to exactly the events you enabled. Leave it alone — StackOne manages its whole lifecycle and removes it when the connection is deleted.</p>

        <ul>
          <li>A tenant allows only a limited number of event streams. If the limit is already reached, creating the connection fails and Auth0 reports too\_many\_entities — delete an unused stream and reconnect.</li>
          <li>Auth0 delivers each event as a CloudEvents envelope, so the event type and the time it occurred travel with the event itself.</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Available webhook events</h2>

  <p>Auth0 emits twenty-five event types across connections, groups, organizations and users. Only events selected in StackOne are included in the stream — Auth0 sends nothing for events that are not subscribed.</p>

  <Steps>
    <Step title="Enable connection events">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Events covering the identity connections configured on the tenant.</p>

        <ul>
          <li><strong>Connection Created</strong> (`connection.created`) — Fired when a connection is created.</li>
          <li><strong>Connection Updated</strong> (`connection.updated`) — Fired when a connection is updated.</li>
          <li><strong>Connection Deleted</strong> (`connection.deleted`) — Fired when a connection is deleted.</li>
        </ul>
      </div>
    </Step>

    <Step title="Enable group events">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Events covering groups and the members and roles attached to them.</p>

        <ul>
          <li><strong>Group Created</strong> (`group.created`) — Fired when a group is created.</li>
          <li><strong>Group Updated</strong> (`group.updated`) — Fired when a group is updated.</li>
          <li><strong>Group Deleted</strong> (`group.deleted`) — Fired when a group is deleted.</li>
          <li><strong>Group Member Added</strong> (`group.member.added`) — Fired when a member is added to a group.</li>
          <li><strong>Group Member Deleted</strong> (`group.member.deleted`) — Fired when a member is removed from a group.</li>
          <li><strong>Group Role Assigned</strong> (`group.role.assigned`) — Fired when a role is assigned to a group.</li>
          <li><strong>Group Role Removed</strong> (`group.role.deleted`) — Fired when a role is removed from a group.</li>
        </ul>
      </div>
    </Step>

    <Step title="Enable organization events">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Events covering organizations, their enabled connections, and the members and roles within them.</p>

        <ul>
          <li><strong>Organization Created</strong> (`organization.created`) — Fired when an organization is created.</li>
          <li><strong>Organization Updated</strong> (`organization.updated`) — Fired when an organization is updated.</li>
          <li><strong>Organization Deleted</strong> (`organization.deleted`) — Fired when an organization is deleted.</li>
          <li><strong>Organization Connection Added</strong> (`organization.connection.added`) — Fired when a connection is enabled on an organization.</li>
          <li><strong>Organization Connection Updated</strong> (`organization.connection.updated`) — Fired when an organization's connection settings change.</li>
          <li><strong>Organization Connection Removed</strong> (`organization.connection.removed`) — Fired when a connection is removed from an organization.</li>
          <li><strong>Organization Member Added</strong> (`organization.member.added`) — Fired when a user is added to an organization.</li>
          <li><strong>Organization Member Removed</strong> (`organization.member.deleted`) — Fired when a user is removed from an organization.</li>
          <li><strong>Organization Member Role Assigned</strong> (`organization.member.role.assigned`) — Fired when a role is assigned to an organization member.</li>
          <li><strong>Organization Member Role Removed</strong> (`organization.member.role.deleted`) — Fired when a role is removed from an organization member.</li>
          <li><strong>Organization Group Role Assigned</strong> (`organization.group.role.assigned`) — Fired when a role is assigned to a group within an organization.</li>
          <li><strong>Organization Group Role Removed</strong> (`organization.group.role.deleted`) — Fired when a role is removed from a group within an organization.</li>
        </ul>
      </div>
    </Step>

    <Step title="Enable user events">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Events covering user accounts on the tenant.</p>

        <ul>
          <li><strong>User Created</strong> (`user.created`) — Fired when a user is created.</li>
          <li><strong>User Updated</strong> (`user.updated`) — Fired when a user is updated.</li>
          <li><strong>User Deleted</strong> (`user.deleted`) — Fired when a user is deleted.</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

## Verify

Your Connector should now be able to receive and process events. Try triggering an event and you should see an Event appear in the Connector logs.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.