Event types

Respond to activity that occurs within Auth0 and third-party providers.

User events

/

const userCreated = _.merge({}, cloudEvent, {
  properties: {
    type: {
      type: 'string',
      enum: ['user.created'],
    },
    data: {
      type: 'object',
      properties: {
        object: userResponse,
        context: context,
      },
    },
  },
});

Was this helpful?

/

/

const userUpdated = _.merge({}, cloudEvent, {
  properties: {
    type: {
      type: 'string',
      enum: ['user.updated'],
    },
    data: {
      type: 'object',
      properties: {
        object: userResponse,
        context: context,
      },
    },
  },
});

Was this helpful?

/

/

const userDeleted = _.merge({}, cloudEvent, {
  properties: {
    type: {
      type: 'string',
      enum: ['user.deleted'],
    },
    data: {
      type: 'object',
      properties: {
        object: userResponse,
        context: context,
      },
    },
  },
});

Was this helpful?

/