Event types
Respond to activity that occurs within Auth0 and third-party providers.
User events
user.created
An event that is published each time a user is created.
const userCreated = _.merge({}, cloudEvent, {
properties: {
type: {
type: 'string',
enum: ['user.created'],
},
data: {
type: 'object',
properties: {
object: userResponse,
context: context,
},
},
},
});
Was this helpful?
/
user.updated
An event that is published each time a user is updated.
const userUpdated = _.merge({}, cloudEvent, {
properties: {
type: {
type: 'string',
enum: ['user.updated'],
},
data: {
type: 'object',
properties: {
object: userResponse,
context: context,
},
},
},
});
Was this helpful?
/
user.deleted
An event that is published each time a user is deleted.
const userDeleted = _.merge({}, cloudEvent, {
properties: {
type: {
type: 'string',
enum: ['user.deleted'],
},
data: {
type: 'object',
properties: {
object: userResponse,
context: context,
},
},
},
});
Was this helpful?
/