Skip to content

DefaultAuthorizationCodeTokenResponseClient.getTokenResponse(OAuth2AuthorizationCodeGrantRequest) can return null  #13143

Closed
@rwinch

Description

@rwinch

In some cases DefaultAuthorizationCodeTokenResponseClient.getTokenResponse(OAuth2AuthorizationCodeGrantRequest) can return null. For example, when a redirect is returned the body is empty. This causes a NullPointerException in OidcAuthorizationCodeAuthenticationProvider.

If the response is invalid, I believe we should provide a meaningful error to users.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions