My use case: when a user is registered in Auth0, depending on a field in their app_metadata
, I make an API call to Databricks to provision a user. The created used in Databricks kept getting their email as their name. This is how I encountered the issue.
Despite having
name: Foo Bar
in their user_metadata
after user creation, the event
in the hook never had the value. It did have familyName
and givenName
so I just used that.
To solve, I post to Databricks using
"name" : {
"familyName": familyName,
"givenName": givenName
}
but I couldn’t figure out why name
wasn’t in the event
object.