Auth0
Overview
Auth0 is an identity and access management platform that provides secure authentication, user management, and organization modeling capabilities. In Zenskar, you can connect Auth0 as a data source to sync user and organization data, enabling identity-aware billing workflows and enriched customer records. The Zenskar Auth0 data-source connector fetches data from Auth0 Management API.
Prerequisites
- Sign up for an account in Auth0.
- Register a Machine to Machine Application named Zenskar. This allows Zenskar to make scheduled calls to Auth0 and generate access tokens automatically.
- Get Management API access tokens for production. Zenskar uses the Management API V2.
- Grant a set of permissions (or scopes) to the Machine to Machine Application named Zenskar.
| Supported stream | Required scope |
|---|---|
| Clients | read:clients |
| Organizations | read:organizations |
| OrganizationMembers | read:organization_members |
| OrganizationMemberRoles | read:organization_member_roles |
| Users | read:users |
Set up an Auth0 data-source connector via Zenskar dashboard
- Log into your Zenskar dashboard.
- In the left side bar, click Usage > Data Sources.
- In the top-right corner, click + ADD DATA SOURCE.
- On the Add New Data Source page, configure the Auth0 connector.
- Click on the SAVE SOURCE button.
Connector configuration
General configuration
| Field | Description | Required |
|---|---|---|
| Source Name | Enter a unique name for this data source. | Yes |
| Source Type | Select Auth0 from the dropdown menu. | Yes |
Data-source configuration
| Field | Description | Required |
|---|---|---|
| Base URL | The base endpoint of your Auth0 tenant. It follows the format https://<yourDomain>, where <yourDomain> is your Auth0 domain (for example, https://zenskar.us.auth0.com). | Yes |
| Authentication Method | The authentication mode used to connect to Auth0. Available options are: 1) OAuth2 Confidential Application; 2) OAuth2 Access Token. | Yes |
You must complete the corresponding conditional table below based on the Authentication Method you choose.
OAuth2 Confidential Application configuration
These fields are required only if Authentication Method is set to OAuth2 Confidential Application.
| Field | Description | Required |
|---|---|---|
| Client ID | The Client ID of your Auth0 Machine-to-Machine application (available in Auth0 Dashboard → Applications). | Yes |
| Client Secret | The Client Secret of your Auth0 Machine-to-Machine application (available in Auth0 Dashboard → Applications). | Yes |
OAuth2 access token configuration
These fields are required only if Authentication Method is set to OAuth2 Access Token.
| Field | Description | Required |
|---|---|---|
| OAuth2 Access Token | Access token generated from the Auth0 Management API Explorer or via your Auth0 OAuth2 flow. | Yes |
Data source access mode (read-only)
Zenskar queries data directly from Auth0 without syncing it to Zenskar’s data infrastructure. This option is:
- Ideal for large databases (more than 30 GB)
- Suitable for real-time data access
- No sync waiting time
Addendum
Supported Streams
| Stream | Description |
|---|---|
| Clients | Retrieves details of all registered applications (clients) in your Auth0 tenant. |
| Organizations | Retrieves organization records configured in your Auth0 account. |
| OrganizationMembers | Lists members belonging to a specific organization. |
| OrganizationMemberRoles | Lists roles assigned to members within an organization. |
| Users | Retrieves user profiles and metadata from your Auth0 tenant. |
Notes
The connector is restricted by Auth0 rate limits.
Updated 15 days ago
