User metadata put in mock data is not being read

I’m testing the ability to change the prompt description for reset-password based on user metadata via Advanced Customizations, but browser developer tools show that it’s not being read.

I tried multiple formats, and they all weren’t read.

“user”: {
“userMetadata”: { “firstName”: “John”, “department”: “Engineering”, “role”: “Developer” }
},

“user”: {
“userMetadata”: {
“nickname”: “test”
}
},

“user”: {
“userMetadata”: “test”
},

“user”: {
“userMetadata”: {
“parent”: {
“child”: “false”
}
}
}

Found the solution. In the mock data file, it’s “user_metadata”, not “userMetadata”.

Hi @BrandenRobinson,

Thanks for sharing this with the rest of the Community!

Best regards,
Remus

1 Like