Use the policy-openid-userinfo
to get the OpenId Connect user info from an OAuth2 resource through its UserInfo endpoint.
Note
|
The request will fail with a 401 status if the policy’s Oauth2 resource is misconfigured or not defined at all. To troubleshoot this, check the WWW_Authenticate header for more information.
|
Use the following options to configure the policy:
Property | Required | Description | Type | Default |
---|---|---|---|---|
oauthResource |
X |
The OAuth2 resource used to get UserInfo |
string |
|
extractPayload |
When set to |
boolean |