Shared Application Configuration¶
Application configuration consists of many different parameters. With this feature you are able to see what messages are being displayed for different locales and how password policy is configured using simple REST endpoints.
Prerequisites¶
To successfully complete this topic guide you need to ensure following prerequisites:
- configured Onegini IdP environment as described in the setup section,
- have access to Configuration APIs.
Getting the data¶
To access the data you need to call the URL presented below with the Onegini IdP API basic authentication credentials.
GET http://idp-core.dev.onegini.me:8081/api/config/
Example successful response:
{
"password_policy": {
"min_length": 3,
"max_length": 30,
"digit_required": false,
"lower_case_char_required": false,
"upper_case_char_required": false,
"special_char_required": false
},
"messages": {
"default": {
"admin.general.off": "Off"
},
"en": {
"admin.general.off": "Off"
}
}
}