feat(jans-config-api): User endpoint to expose custom attributes at root level #1348
Labels
comp-jans-config-api
Component affected by issue or PR
kind-feature
Issue or PR is a new feature request
Requirement: Currently the fields mail, displayName, jansStatus, userPassword, givenName in customAttributes array.
These need to be made available directly in json as this will be helpful for UI developers as these fields will be mandatory on UI.
example
{ "dn": "inum=203008f1-dc3e-41ee-a546-d7a2aa45f6ab,ou=people,o=jans", "userId": "admin5", "mail": "admin4@jans-ui.jans.io", "displayName": "Default Admin User", "jansStatus": "active", "userPassword": "secret123", "givenName" :"Admin", "createdAt": "2022-05-14T16:35:27", "baseDn": "inum=c8791801-4372-42b9-a53f-0990b79f62c4,ou=people,o=jans", "customAttributes": [{...}] }
The text was updated successfully, but these errors were encountered: