Configuring Consent Service scopes - PingDirectory - 9.3

PingDirectory 9.3

bundle
pingdirectory-93
ft:publication_title
PingDirectory 9.3
Product_Version_ce
PingDirectory 9.3 (Latest)
category
Product
pd-93
pingdirectory
ContentType_ce

Configure the privileged-consent-scope and unprivileged-consent-scope for the Consent Service.

The Consent Service checks access tokens for a subject claim and uses an identity mapper to map the value to a distinguished name (DN), called the request DN or auth DN. If no request DN can be mapped, the request is rejected.

The Consent Service only accepts an access token with a scope that it is configured to recognize.

unprivileged-consent-scope
An unprivileged consent scope designates the requester as unprivileged. The scope's name is configured with the Consent Service's unprivileged-consent-scope property.
privileged-consent-scope
A privileged consent scope designates the requester as privileged. This is configured using the Consent Service's privileged-consent-scope property.
Note:

The authorization server must also be configured to issue tokens with these scopes.

Configure the privileged-consent-scope and unprivileged-consent-scope for the Consent Service.
$ bin/dsconfig set-consent-service-prop \
  --set unprivileged-consent-scope:consent \
  --set privileged-consent-scope:consent_admin