-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Introduce OidcResponseFilter #43283
Introduce OidcResponseFilter #43283
Conversation
15681d0
to
d519ae3
Compare
🙈 The PR is closed and the preview is expired. |
d519ae3
to
8736dc6
Compare
This comment has been minimized.
This comment has been minimized.
The main design challenge from my point of view is whether to allow response filters modify the response body by returning an updated I can only imagine a case where a non-standard property name is used in the response, Quarkus OIDC does not recognize it, and the the filter transforms the body. But it can be controlled at the configuration level if necessary, modifying OIDC responses can introduce an unexpected immediate or later time error in the system. So, right now, |
Status for workflow
|
Status for workflow
|
The other thing I've realized is that the For example, both for So being able to check in the response filter which grant was used to return the current tokens is important. |
Overall though, the PR changes are simple, given the @pedroigor, @gastaldi, please have a look when you get a chance |
Hi Pedro @pedroigor, how does it look to you ? The way |
Hey @gastaldi @pedroigor, let me merge it now, it is indeed not really about the OIDC logic, so I believe George's approval is sufficient, thanks |
This PR introduces
OidcResponseFilter
to support filtering responses to allquarkus-oidc
,quarkus-oidc-client
andquarkus-oidc-client-registration
calls. WithOidcRequestFilter
andOidcRedirectFilter
already available, all the direct and indirect communication channels with the OIDC server can not be filtered.I'll clean up and open for review early next week