I’m currently adding Custom Attributes to my User Schema using the provided Postman Schema API. However I want these custom attributes to appear in the profile
data set returned from POST Primary Authentication, where login
, firstName
, lastName
, etc are shown:
{
"expiresAt": "2019-07-08T22:10:30.000Z",
"status": "SUCCESS",
"sessionToken": "20111DhPBdhb7dqy1ZKNGzMRH2",
"_embedded": {
"user": {
"id": "00utvatjq356",
"passwordChanged": "2019-07-08T18:03:17.000Z",
"profile": {
"login": "isaac@testemail.com",
"firstName": "Test",
"lastName": "User",
"locale": "en",
"timeZone": "America/Los_Angeles",
"myCustomAttribute": "customAttribute"
}
}
},
"_links": {
"cancel": {
"href": "",
"hints": {
"allow": [
"POST"
]
}
}
}
}
This issue I’m having is nearly identical to the unanswered question here. I was able to successfully create custom attributes but I am unable to find a way to retrieve them from the Primary Authentication response body. Is there a configuration which needs to change for these custom attributes to appear in the response body or is this even possible at all?