Not able to fetch username from event on execution of onExecutePostChangePassword

Ready to post? :mag: First, try searching for your answer.
I need user name from the event object for onExecutePostChangePassword but its not coming.

user object looks like

user: {
email: โ€˜โ€™,
email_verified: false,
id: โ€˜โ€™,
last_password_reset: โ€˜2024-07-30T12:07:52.022Zโ€™,
user_id: โ€˜auth0|โ€™
},

1 Like