Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass Http Request to OAuth2AuthorizationRequestResolver#authorizationRequestCustomizer #16306

Open
ZIRAKrezovic opened this issue Dec 19, 2024 · 0 comments · May be fixed by #16320
Open

Pass Http Request to OAuth2AuthorizationRequestResolver#authorizationRequestCustomizer #16306

ZIRAKrezovic opened this issue Dec 19, 2024 · 0 comments · May be fixed by #16320
Assignees
Labels
in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) status: waiting-for-triage An issue we've not yet triaged type: enhancement A general enhancement

Comments

@ZIRAKrezovic
Copy link

Expected Behavior

It would be nice if we could use ServerWebExchange when customizing the Authorization Request using DefaultServerOAuth2AuthorizationRequestResolver#authorizationRequestCustomizer

At the moment, we only get the builder instance.

Current Behavior

Context

I would like to add additional query params to skip or enable login screen on Keycloak using kc_idp_hint query param, depending on where the user is coming from.

@ZIRAKrezovic ZIRAKrezovic added status: waiting-for-triage An issue we've not yet triaged type: enhancement A general enhancement labels Dec 19, 2024
kse-music added a commit to kse-music/spring-security that referenced this issue Dec 20, 2024
kse-music added a commit to kse-music/spring-security that referenced this issue Dec 20, 2024
@sjohnr sjohnr self-assigned this Dec 20, 2024
@sjohnr sjohnr added the in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) status: waiting-for-triage An issue we've not yet triaged type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants