Auth0 Home Blog Docs

app_metadata key value changes when using api v2

app_metadata
v2

#1

when setting userName as a key in the request create or update a user the key gets change to name when stored in auth0, there is no rule listed under the metadata page or a restriction listed, has anyone any thoughts on this?


#2

I could not reproduce the situation so I’m likely missing something as in my tests I could set the userNamekey within app_metadata without seeing the behavior you describe.

You should update your question with the exact payload you’re sending to the API endpoint and also include the response of getting that same user so that it’s easier to troubleshoot the situation.


#3

Sorry, nothing to do with Auth0 in the end, my changes weren’t getting deployed


#4