Back

This article describes how to use the Auth0 data source to create a webhook in your Auth0 account to send actionable events into EventStream.

In this article:

Prerequisites

  • Tealium EventStream and/or Tealium AudienceStream
  • Auth0 account

How It Works

Auth0 Data Source receives data from all Tealium Actions located in the Auth0 marketplace after a user has been added to the Database.

Auth0 Data Source

Adding the Auth0 data source to your Tealium Customer Data Hub profile generates a unique URL to use in your webhook configuration in the following format:

https://collect.tealiumiq.com/integration/event/ACCOUNT/PROFILE/DATA_SOURCE_KEY

To add the Auth0 data source to your Tealium Customer Data Hub profile, see Data Sources. After adding and connecting the data source, save and publish your profile. 

Auth0 Setup

After you connect Auth0 to your Tealium Customer Data Hub profile, configure the webhook using the following steps:

  1. Log in to your Auth0 account.
  2. Navigate to Actions → Library in the Left-hand menu.
  3. Click Add Action in the upper right corner and add Tealium Action to your library. Input the Account, Profile and Data Source key for the action.
  4. Navigate to Actions → Flow in the Left-hand menu.
  5. Select the appropriate Flow and add the action to the Flow.

See Understand How Auth0 Actions Work.

Events and Attributes

All incoming Auth0 event attributes are prefixed with auth0_ . For example, for the user_id attribute, Auth0 will send the matching EventStream event attribute auth0_user_id (all lowercase). The Auth0 webhook API sends flattened JSON objects to Tealium as shown in the following example of an Auth0 User Registration event:

     "tealium_event"   : "auth0_user_login",
     "auth0_email_address"   : "user@example.com",
     "auth0_userid": 8237572,
     "auth0_phone_number" : 0123456789,
     "auth0_ip" : "255.255.255.255",
     "auth0_city" : "San Diego",
     "auth0_last_name" : "John",
     "auth0_first_name" : "Doe";

Vendor Documentation

Public