Skip to content

OAuth2AuthorizeRequest supports attributes #7341

Closed
@jgrandja

Description

@jgrandja

We should add a member to OAuth2AuthorizeRequest of type Map<String, Object> that can be used for request attributes.

In addition to this change, we should remove the HttpServletRequest and HttpServletResponse members from OAuth2AuthorizeRequest and instead populate these into the request attributes member.

This will also allow us to reuse OAuth2AuthorizeRequest as input to ServerOAuth2AuthorizedClientManager.authorize() and remove ServerOAuth2AuthorizeRequest.

Metadata

Metadata

Assignees

Labels

in: oauth2An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions