include-empty-claims

Use include-empty-claims to control whether empty claims are included in the JWT for missing credential attributes.

Syntax

include-empty-claims = {yes|true|no|false}

Description

Claims that correspond to attributes that are not present in the credential are not added to the JWT. Use this configuration entry to specify that missing attributes are still added as an empty string.

Options

yes
Empty claims are included.
true
Empty claims are included.
no
Empty claims are not included.
false
Empty claims are not included.

Usage

This stanza entry is optional.

Default Value

false

Example

include-empty-claims = true