Post-user-registration action not triggered after manage API createUser

Hi @rueben.tiow

Thank you, I’ve completly forgot to put it in the flow as I tried the action itself from action dashboard and as it was working I assumed it was “done”…

:white_check_mark: Working great now.


Another issue: Bad payload in event.user

When I create the user with given_name and familly_name both are well added in dashboard but here is the event.user payload I get:

I have *** ids, tenant and long strings for this comment

user {
  email: 'foo@bar.com',
  tenant: '***',
  user_id: 'auth0|***',
  app_metadata: {},
  user_metadata: {},
  created_at: undefined,
  updated_at: undefined,
  email_verified: true,
  phone_verified: false
}

which does not correspond to what I should get from documentation event.user

On the other hand the reponse from the function to create the user is correct.

{
  created_at: '2021-11-12T09:02:48.949Z',
  email: 'foo@bar.com',
  email_verified: true,
  family_name: 'Bar',
  given_name: 'Foo',
  identities: [
    {
      connection: 'Username-Password-Authentication',
      user_id: '***',
      provider: 'auth0',
      isSocial: false
    }
  ],
  name: 'foo@bar.com',
  nickname: 'foo',
  picture: 'https://s.gravatar.com/***',
  updated_at: '2021-11-12T09:02:48.949Z',
  user_id: 'auth0|***'
}