The authentication realms configuration is declared in the conf.json, inside the ui sub element:
The following example shows how to declare realms in the authentication configuration.
The authentication realms configuration is declared in the conf.json, inside the ui sub element:
The following example shows how to declare realms in the authentication configuration.
{
"authentication": {
"realms": [
{
"name": "google-realm",
"type": "google",
"configuration": {
"key": "akey",
"secret": "asecret"
}
},
{
"name": "internal-realm",
"type": "internal"
}
]
}
}
In this case two realms are declared: