Skip to content

Gravitee.io - API Management - Policy - OpenID Connect UserInfo

License

Notifications You must be signed in to change notification settings

gravitee-io/gravitee-policy-openid-connect-userinfo

Repository files navigation

OpenID Connect user info policy

Gravitee.io License Releases CircleCI

Phase

onRequest onResponse

X

Description

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.

Configuration

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 true, the payload of the response from the UserInfo endpoint is set in the openid.userinfo.payload gateway attribute

boolean

About

Gravitee.io - API Management - Policy - OpenID Connect UserInfo

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages