-
Notifications
You must be signed in to change notification settings - Fork 156
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
OAuth2 Auth provider incorrectly validating Access Tokens #673
Conversation
I can't see any test for this |
@pmlopes could you have a look ? |
I didn't write a test because I couldn't see any for the provider. A full maven build for the whole vertx-auth module passes locally but that's as far as I ran tests locally. |
4e60d23
to
d1de398
Compare
Test issues partially fixed, reusing the audience ArrayList from JWTOptions did unintendedly modify its content, using a copy now. |
Now only the following two tests are failing in OAuth2Keycloak14IT
Tests are expecting validation to fail but that isn't happening with the suggested ID-token-only validation. I don't want to tamper with existing tests too much, so your opinion on this one would be appreciated. |
@pmlopes @vietj May I ask for an update? My recent changes to suggested fix from #654 did resolve some of the regression but the ones are broken with new logic only validating ID-tokens. Writing a meaningful test is above my paygrade and I wouldn't dare to just remove the test cases. Let me know what you think, |
There hasn't been any reply, neither on the related issue nor here for months and I'm not sure how else to address this. |
Motivation:
PR containing code for fix in #654