Auth0

Auth0 is an identity platform for adding sign-up, login and access control to your applications. With Weld you can sync your Auth0 users, login activity, applications, roles and organizations into your data warehouse, and join them with your product and billing data to report on sign-ups, active users and who has access to what.

Features

Feature nameSupported
Column HashingTrueColumn level
BlockingTrueColumn level
IncrementalTrue
Custom dataFalse
HistoryTrue
ReSyncTrueTable level
TemplatesFalse

Data Schema


Setup Guide - ELT

Step 1 - Create a Machine to Machine application

  1. Sign in to the Auth0 Dashboard and select the tenant you want to sync.

  2. Go to Applications → Applications and click Create Application.

  3. Give it a name, for example Weld, choose Machine to Machine Applications and click Create.

  4. When asked which API to authorize, select Auth0 Management API.

  5. Select the following permissions and click Authorize:

    read:users, read:logs, read:logs_users, read:stats, read:clients, read:client_grants, read:connections, read:grants, read:organizations, read:organization_members, read:organization_member_roles, read:roles, read:resource_servers, read:actions, read:log_streams, read:event_streams

  6. Open the application's Settings tab and copy the Domain, Client ID and Client Secret.

Step 2 - Create the connection

  1. In the Weld app, navigate to Connections and click + New Connection.
  2. Search for Auth0 and select it.
  3. Enter the destination schema name of your choice. This name is used to identify the connection in future syncs.
  4. Enter the Domain, for example my-tenant.eu.auth0.com. Use your tenant's own auth0.com domain shown on the application's Settings tab, not a custom domain.
  5. Paste the Client ID and Client Secret.
  6. Click Connect to validate the credentials and establish the connection.

Step 3 - Data To Sync

Select the tables you wish to include in the sync. You can view the schema, remove columns or hash sensitive information. Tables listed in brackets come along with the table before them.

  • Users — users (with user_identities, user_profile_data, user_metadata, user_app_metadata)
  • Activity — logs (with log_detail_accessed_secret), stats_daily
  • Applications and APIs — client (with client_callback, client_grant_type, client_metadata), client_grant (with client_grant_scope), grants (with grant_scope), resource_server (with resource_server_scopes)
  • Connections — connection (with connection_realm, connection_enabled_client, connection_metadata)
  • Roles and permissions — role (with role_permission)
  • Organizations — organization (with organization_metadata), organization_member (with organization_member_role)
  • Actions — action (with action_supported_trigger, action_secret, action_dependency, action_integration), action_trigger (with action_trigger_runtime, action_trigger_compatible)
  • Streaming — log_stream (with log_stream_sink), event_stream (with event_stream_subscription)

Metadata tables — user_metadata, user_app_metadata, user_profile_data, client_metadata, connection_metadata, organization_metadata and log_stream_sink — hold one row per key, with the key in name and its value in value.

Step 4 - Configure sync

  1. Select how often you would like the data to sync.
  2. Optionally choose a start date for stats_daily. Without one, daily stats are backfilled for the last year.
  3. Provide a unique destination table name.

Weld will take over from here and commence syncing data from your Auth0 tenant.

Was this page helpful?