Event.user.nickname undefined when referenced in custom action in post reg flow

I have a very basic custom action deployed in Post Registration under Flows

The custom action basically passes 2 properties of the events.user object to our internal API

But strangely, event.user.nickname is always coming back “undefined”. I use to have this set as a hook under Rules and nickname was always returned fine, but for some reason its coming back undefined when using the below custom action (which I think is a relatively straight forward action)

const axios = require("axios");

exports.onExecutePostUserRegistration = async (event) => {

  await axios.post(`INTERNAL_API?customerID=${event.user.user_id}&nickName=${event.user.nickname}`);


Ddi you get any further with this @danoely ?

I have just hit the same issue, the only fields available on the event.user object in my PostUserReg action are

  "email": "XYZ",
  "tenant": "XYZ",
  "user_id": "auth0|XYZ",
  "app_metadata": {},
  "user_metadata": {
    "company_name": "XYZ",
    "email_signup": false,
    "job_title": "XYZ",
    "setPasswordRequired": true
  "email_verified": true,
  "phone_verified": false

need to get the users name to store externally, and according to the docs it should be there :confused:

I have the same issue, any luck with it ?
please see mine : Post-user-registration action not triggered after manage API createUser - #4 by r.cauquil