-
Notifications
You must be signed in to change notification settings - Fork 6k
Using micrometer-tracing-bridge-{} breaks OAuth2/JWT validation #13431
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
Comments
It's exactly the same for us. The error appeared after upgrading spring boot from 3.1.0 to 3.1.1. |
MOST IMPORTANTLY; I can corroborate that reverting from 3.1.1 back to 3.1.0 (as described by @spalberg here) did resolve the issue for me. So if you came here just looking for a fix, that's your fix. I suspect I'm hitting this same issue. It presents itself a bit different and it's in our test suite, but it looks to be very similar (also downgrading made it go away):
NOTE I've subbed in |
This may be a duplicate of #13415 |
Working again for me with v3.1.2 as well. |
Describe the bug
I'm using Spring Security (reactive, v6.1.1). Adding the
micrometer-tracing-bridge-otel
ormicrometer-tracing-bridge-brave
dependency breaks the OAuth2 resource server. I also have theHooks.enableAutomaticContextPropagation()
per this guide.To Reproduce
My security configuration:
Expected behavior
Using the tracing library should not break Spring Security.
The text was updated successfully, but these errors were encountered: