Skip to content

OAuth2 token introspection assuming issuer claim is present #438

@josephtarbit

Description

@josephtarbit

Descrition
In OAuth2TokenIntrospectionAuthenticationProvider::withActiveTokenClaims, jwtClaims.getIssuer().toExternalForm() is called but JwtClaimAccessor::getIssuer can be null therefore a NullPointerException is thrown when the issuer claim is not present.

To Reproduce
By default no issuer claim is appended to the JWT claims, therefore this problem occurs with the default authorization server configuration.

Expected behavior
Null should be properly handled.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions