DOMAIN_CONFIGURATIONS
Note
In this section, domains for incoming HTTP requests can be configured
Properties
| Property name | Description | Allowed/default values | Mandatory |
|---|---|---|---|
| domainName | The domain name (FQDN) | Yes | |
| defaultIfUnknownHost | If the incoming request has neither the Host-header, nor the HTTP 2.0 Authority set, default to this entry if this is true |
false (default), true |
No |
| enforceCookieDomain | When the server sets a cookie, set the domain property to the configured domainName. Useful for ex. the authentication cookie in certain cases, see the article The authentication cookie |
false (default), true |
No |
| includeSubdomains | When matching the incoming request against the configured domainName, this tells whether to match for subdomains too |
false (default), true |
No |
Example
{
"domainName": "idp.example.com",
"defaultIfUnknownHost": "false",
"enforceCookieDomain": "true",
"includeSubdomains": "true"
}
In the example above, request for ex. "idp.example.com" and "mtls.idp.example.com" will match, and when a cookie is being set, the domain property for the cookie will be set to "idp.example.com".