Repository navigation
Conversation
8000
jimmychakkalakal
force-pushed
the
issues/49009-Malformed-Requests-In-Docker-Endpoint
branch
7 times, most recently
from
September 29, 2026 10:39
500f298 to
94b77cb
Compare
jimmychakkalakal
force-pushed
the
issues/49009-Malformed-Requests-In-Docker-Endpoint
branch
7 times, most recently
from
October 1, 2026 09:13
99199a4 to
681c213
Compare
jimmychakkalakal
marked this pull request as ready for review
October 1, 2026 09:13
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Joined scopes break Docker’s invalid-credentials response path for valid multi-scope requests.
Review effort: Balanced
Findings: 1
What changed in this PR
Rejects malformed Docker authorization requests while preserving valid repeated scope parameters.
Changes:
- Validates parser errors and returns HTTP 400.
- Aggregates repeated Docker scopes.
- Adds integration coverage and stabilizes event handling.
| File | Description |
|---|---|
DockerEndpoint.java |
Normalizes scopes and rejects invalid requests. |
DockerEndpointInvalidRequestTest.java |
Tests malformed and repeated parameters. |
DockerClientTest.java |
Clears residual login events. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
jimmychakkalakal
force-pushed
the
issues/49009-Malformed-Requests-In-Docker-Endpoint
branch
from
October 1, 2026 11:20
681c213 to
cab7ce2
Compare
jimmychakkalakal
force-pushed
the
issues/49009-Malformed-Requests-In-Docker-Endpoint
branch
from
October 1, 2026 14:16
cab7ce2 to
28eb6e3
Compare
jimmychakkalakal
force-pushed
the
issues/49009-Malformed-Requests-In-Docker-Endpoint
branch
from
October 1, 2026 14:40
28eb6e3 to
d2c38e8
Compare
jimmychakkalakal
force-pushed
the
issues/49009-Malformed-Requests-In-Docker-Endpoint
branch
from
October 1, 2026 15:59
d2c38e8 to
f1b1cfa
Compare
jimmychakkalakal
force-pushed
the
issues/49009-Malformed-Requests-In-Docker-Endpoint
branch
from
October 1, 2026 17:01
f1b1cfa to
a57d316
Compare
jimmychakkalakal
force-pushed
the
issues/49009-Malformed-Requests-In-Docker-Endpoint
branch
from
October 1, 2026 17:37
a57d316 to
70b7f3c
Compare
endpoint Closes keycloak#49009 Co-authored-by: Abhishek Supsande <abhisheksupsande7@gmail.com> Signed-off-by: Jimmy Chakkalakal <jimmy.chakkalakal@ibm.com>
jimmychakkalakal
force-pushed
the
issues/49009-Malformed-Requests-In-Docker-Endpoint
branch
from
October 2, 2026 09:13
70b7f3c to
8675aff
Compare
graziang
approved these changes
Oct 2, 2026
Contributor
There was a problem hiding this comment.
@jimmychakkalakal thanks!
mposolda
approved these changes
Oct 2, 2026
Contributor
There was a problem hiding this comment.
@jimmychakkalakal Thanks!
Approving and merging on behalf of @graziang review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Reject malformed requests in the docker auth endpoint
Closes #49009
Co-authored-by: Abhishek Supsande abhisheksupsande7@gmail.com