-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Add Support DPoP Customization #17202
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
base: main
Are you sure you want to change the base?
Conversation
Closes spring-projectsgh-16940 Signed-off-by: Max Batischev <mblancer@mail.ru>
|
Thanks for the PR @franticticktick. I will review this soon. |
|
Thanks for your patience @franticticktick and apologies that I could not get this into I have scheduled this for |
|
@franticticktick @jgrandja I haven't gone through the details of the PR, but I just wanted to add the following: It's not uncommon for ppl to have a reverse proxy in front of their applications, having a reverse proxy could mean (like in my use case) that you have different paths per application. For example, TL;DR it should be possible to customize the DPoP validation to be reverse-proxy aware. I'm just trying to scratch my itch here, but I do believe this is not an uncommon use case. I'm happy to contribute somehow if needed. Edit: Also, can we also get this into the 6.5.x? |
I've a similar setup where reverse proxy is Spring Cloud Gateway 5 MVC. You must configure your reverse proxy to add X-Forwarded-xxxx headers (in your case, X-Forwarded-Prefix should report /svc1 or /svc2 to your resource server). |
|
@ferrerogg it worked. Thank you so much! |
Closes gh-16940