RudderStack converts the Auth0 payload into a group event if the Auth0 payload contains the description as Add members to an organization.
The sample payload from Auth0 containing the event description as Add members to an organization:
{"log_id":"90020221031061004280169676882609459981150114445973782546","data":{"date":"2022-10-31T06:09:59.135Z","type":"sapi","description":"Add members to an organization","client_id":"vQcJNDTxsM1W72eHFonRJdzyOvawlwIt","client_name":"","ip":"35.167.74.121","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36","details":{"request":{"path":"/api/v2/organizations/org_eoe8p2atZ7furBxg/members"}},"user_id":"google-oauth2|123456","log_id":"90020221031061004280169676882609459981150114445973782546"}}
The sample payload after RudderStack transforms it into a group event:
{"context":{"integration":{"name":"Auth0"},"library":{"name":"unknown","version":"unknown"},"request_ip":"35.167.74.121","traits":{"userId":"google-oauth2|123456"},"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36"},"groupId":"org_eoe8p2atZ7furBxg","integrations":{"Auth0":false},"messageId":"1bc7876a-7c9d-4c0a-a1a9-179b804135f5","originalTimestamp":"2022-10-31T06:09:59.135Z","properties":{"client_id":"vQcJNDTxsM1W72eHFonRJdzyOvawlwIt","client_name":"","description":"Add members to an organization","details":{"request":{"path":"/api/v2/organizations/org_eoe8p2atZ7furBxg/members"}},"log_id":"90020221031061004280169676882609459981150114445973782546"},"rudderId":"414ca53a-7f7e-4ec8-8d62-3c5cfcf15f91","sentAt":"2022-10-31T06:09:59.135Z","type":"group","userId":"google-oauth2|123456"}
RudderStack converts the rest of the events as track events.
RudderStack ingests the events related to adding members to an organization as group calls and the signup-related events as identify calls. All the other events are ingested as track calls.
RudderStack maps the following properties from the Auth0 event payload to RudderStack properties for all identify, track, and group events:
Auth0 Property
RudderStack Property
auth0_client
properties.auth0_client
client_id
properties.client_id
client_name
properties.client_name
connection
traits.connection
connection_id
traits.connection_id
date
originalTimestamp sentAt
description
properties.description
details
properties.details
details.auth.user.email
context.traits.email
details.auth.user.name
context.traits.name
log_id
properties.log_id
isMobile
properties.is_mobile
ip
context.request_ip
user_name
context.traits.user_name
user_agent
context.userAgent
user_id
userId context.traits.userId
type
source_type
Debugging
Events not flowing
If you are unable to see any events flowing from the Auth0 API webhooks to RudderStack, you can troubleshoot the issue by viewing the API webhooks logs. To do so, go to your Auth0 dashboard and navigate to Monitoring > Logs.
Refer to the Auth0 documentation for more information on troubleshooting your webhook.
This site uses cookies to improve your experience while you navigate through the website. Out of
these
cookies, the cookies that are categorized as necessary are stored on your browser as they are as
essential
for the working of basic functionalities of the website. We also use third-party cookies that
help
us
analyze and understand how you use this website. These cookies will be stored in your browser
only
with
your
consent. You also have the option to opt-out of these cookies. But opting out of some of these
cookies
may
have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This
category only includes cookies that ensures basic functionalities and security
features of the website. These cookies do not store any personal information.
This site uses cookies to improve your experience. If you want to
learn more about cookies and why we use them, visit our cookie
policy. We'll assume you're ok with this, but you can opt-out if you wish Cookie Settings.