-
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
Do the correct challenge when more than one auth mechanism is used #16446
Do the correct challenge when more than one auth mechanism is used #16446
Conversation
Not sure why it is happening |
@sberyozkin every build is broken ATM, see: https://quarkusio.zulipchat.com/#narrow/stream/187038-dev/topic/2.2E0.20merge/near/234173066 |
@famod thanks... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Ideally we should also have some way of sorting these for the case where there is no challenge. I think at the moment the order is random.
bfa1383
to
5a7e88d
Compare
Rebased to get the latest CI fixes. |
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building 5a7e88d
Full information is available in the Build summary check run. Test Failures⚙️ JVM Tests - JDK 11 #📦 integration-tests/oidc✖ ⚙️ JVM Tests - JDK 15 #📦 integration-tests/kafka✖ ✖ 📦 integration-tests/oidc✖ ⚙️ JVM Tests - JDK 8 #📦 integration-tests/oidc✖ ⚙️ MicroProfile TCKs Tests #📦 tcks/tcks/microprofile-fault-tolerance✖ ⚙️ Native Tests - Security2 #📦 integration-tests/oidc✖ |
@sberyozkin the |
|
@sberyozkin what I don't understand is how the test is passing on Windows given it fails consistently on Linux. Could you have a look at what's going on because this is very weird. |
Hmm, |
The mystery is how this thing passed on Windows. |
Hi Guillaume @gsmet It is my fault - this test in fact could never have been passed after all - I was looking at this PR awhile back and I was just under impression yesterday that all was good and then only test which had to be fixed was the form/basic auth test (I recall I could not make it work at a time - |
@gsmet re the Windows CI passing:
|
I guess this is due to the fact that on Windows no containers are started ( |
5a7e88d
to
9a0ecff
Compare
@famod I see, thanks - so I've also updated |
@famod do you know if it's supported by GitHub Actions so start containers on Windows? |
@gsmet no clue, TBH. Docker is mentioned here: https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md |
Oh dear, got a bit of shock :-), but Windows build failed with the |
Failing Jobs - Building 9a0ecff
Full information is available in the Build summary check run. Test Failures⚙️ JVM Tests - JDK 11 Windows #📦 extensions/resteasy-reactive/rest-client-reactive/deployment✖ ⚙️ JVM Tests - JDK 8 #📦 integration-tests/kafka✖ ✖ |
Hi @stuartwdouglas OK, thanks, merging shortly now that the build is green (as far as this PR is concerned).
Can you please open an issue with a few more details and I can have a look ? (I'm not quite sure I understand the case - do you mean something related to for ex to OIDC |
Hi @gsmet, @stuartwdouglas I've decided to remove a backport label as, even though it addresses a bug, it is arguably a bit too sensitive for a backport (the user reported the workaround was available). Please add it back if you think it is important to backport it |
Fixes #13363
I started working on this PR months ago but only now completing it.
This PR does the following:
Authorization
scheme - both for the challenge (to fix this actual issue) and the attempted authentication.BasicAuthenticationMechanism
code and deprecates the constructors accepting the mechanism name - as its code is written in terms ofbasic
scheme.