Testsuite PoC - Use service account for admin client#31478
Merged
stianst merged 1 commit intokeycloak:mainfrom Jul 24, 2024
Merged
Testsuite PoC - Use service account for admin client#31478stianst merged 1 commit intokeycloak:mainfrom
stianst merged 1 commit intokeycloak:mainfrom
Conversation
573c537 to
652a4b1
Compare
lhanusov
approved these changes
Jul 22, 2024
Contributor
lhanusov
left a comment
There was a problem hiding this comment.
Nice solution with Client credentials for Admin Client -> LGTM 👍
jonkoops
previously approved these changes
Jul 22, 2024
...src/main/java/org/keycloak/quarkus/runtime/integration/jaxrs/QuarkusKeycloakApplication.java
Show resolved
Hide resolved
652a4b1 to
4c29af0
Compare
vmuzikar
reviewed
Jul 22, 2024
...src/main/java/org/keycloak/quarkus/runtime/integration/jaxrs/QuarkusKeycloakApplication.java
Show resolved
Hide resolved
vmuzikar
approved these changes
Jul 22, 2024
Contributor
|
@stianst Was this PR superseded? |
Contributor
Author
Nah, I deleted the branch by mistake. Re-opened now |
Signed-off-by: stianst <[email protected]>
4c29af0 to
e7ab088
Compare
vaceksimon
approved these changes
Jul 23, 2024
jonkoops
approved these changes
Jul 23, 2024
|
|
||
| adminClient.realms().create(realmRepresentation); | ||
|
|
||
| // TODO Token needs to be invalidated after creating realm to have roles for new realm in the token. Maybe lightweight access tokens could help. |
Contributor
There was a problem hiding this comment.
Do we have an issue logged for this?
Contributor
Author
There was a problem hiding this comment.
That's for supporting it in Keycloak, will add another to update the test poc
stianst
added a commit
to stianst/keycloak
that referenced
this pull request
Jul 25, 2024
Signed-off-by: stianst <[email protected]>
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.
Signed-off-by: stianst [email protected]
Closes #31527