PingGateway 2024.9

OAuth2TokenExchangeContext

When the OAuth2TokenExchangeFilter succesfully issues a token, it injects the issued token and its scopes into this context.

Properties

The context name is OAuth2TokenExchangeContext, and is accessible at ${contexts.oauth2TokenExchange}.

The context has the following properties:

"issuedToken": java.lang.String

The token issued by the Authorization Server.

"issuedTokenType": java.lang.String

The token type URN.

"scopes": java.util.Set<java.lang.String>

One or more scopes associated with the issued token, for example, "scope1", "scope2", "scope3".

"rawInfo": org.forgerock.json.JsonValue

The raw token info as issued by the Authorization Server.