Repository navigation
Service account user ID available on client representation instead of exposing separate endpoint returning whole user representation - #54056
Merged
pedroigor merged 1 commit intoOct 20, 2026
Conversation
vramik
force-pushed
the
54047-ClientResource-getServiceAccountUser
branch
from
October 19, 2026 17:43
e813c0d to
da9edcf
Compare
vramik
marked this pull request as draft
October 19, 2026 18:27
vramik
force-pushed
the
54047-ClientResource-getServiceAccountUser
branch
from
October 19, 2026 18:37
da9edcf to
1c5379e
Compare
vramik
force-pushed
the
54047-ClientResource-getServiceAccountUser
branch
from
October 19, 2026 18:50
1c5379e to
521ad8e
Compare
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Partial-import account initialization regresses, client listing gains per-account queries, and the reported authorization scenario lacks regression coverage.
3 open issues
2 resolved since last review
Review effort: Balanced
vramik
force-pushed
the
54047-ClientResource-getServiceAccountUser
branch
from
October 19, 2026 19:35
521ad8e to
5071d9e
Compare
vramik
force-pushed
the
54047-ClientResource-getServiceAccountUser
branch
from
October 19, 2026 20:41
5071d9e to
baba68b
Compare
vramik
force-pushed
the
54047-ClientResource-getServiceAccountUser
branch
from
October 19, 2026 20:55
baba68b to
2c421da
Compare
vramik
marked this pull request as ready for review
October 19, 2026 21:04
vramik
force-pushed
the
54047-ClientResource-getServiceAccountUser
branch
from
October 19, 2026 21:56
2c421da to
68fc3f1
Compare
… exposing separate endpoint returning whole user representation Closes keycloak#54047 Signed-off-by: vramik <vramik@redhat.com>
vramik
force-pushed
the
54047-ClientResource-getServiceAccountUser
branch
from
October 20, 2026 12:00
68fc3f1 to
568fba0
Compare
Comment on lines
+1592
to
+1594
| UserModel serviceAccount = session.users().getServiceAccount(client); | ||
| if (serviceAccount != null) { | ||
| rep.setServiceAccountUserId(serviceAccount.getId()); |
pedroigor
approved these changes
Oct 20, 2026
Contributor
|
Thanks, @vramik. LGTM now. |
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.

Closes #54047