Skip to content

OAuth2AuthorizationRequestRedirectFilter baseUrl reuse code #5153

Closed
@rwinch

Description

@rwinch

We should not need special logic for the ports when calculating the baseUrl. Something like this should work

String baseUrl = UriComponentsBuilder.fromHttpUrl(UrlUtils.buildFullRequestUrl(request))
	.replacePath(request.getContextPath())
	.build()
	.toUriString();

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