allow-credentials

The allow-credentials entry controls whether or not the reverse proxy returns the Access-Control-Allow-Credentials header to clients.

Description

Indicates to clients Whether authentication is required when accessing resources which are protected by this policy. This will indicate the policy should insert the following header in both pre-flight and cross-origin responses:

This applies to both pre-flight and cross-origin requests.

Options

Usage: This stanza entry is optional.

Default value false

Example: allow-credentials = false

Parent topic: [cors-policy:policy-name] stanza