Repository navigation
Use lightweight access token with transient session for client registration - #36951
Merged
Merged
Conversation
mposolda
reviewed
Feb 5, 2025
…ration Closes keycloak#36926 Signed-off-by: Giuseppe Graziano <g.graziano94@gmail.com> Use lightweight access token with transient session for client registration Signed-off-by: Giuseppe Graziano <g.graziano94@gmail.com>
Closes keycloak#36926 Signed-off-by: Giuseppe Graziano <g.graziano94@gmail.com>
Contributor
Author
|
@mposolda Thanks for the review, applied suggestions! |
mposolda
approved these changes
Feb 6, 2025
graziang
added a commit
to graziang/keycloak
that referenced
this pull request
Feb 6, 2025
…ration (keycloak#36951) Closes keycloak#36926 Signed-off-by: Giuseppe Graziano <g.graziano94@gmail.com> (cherry picked from commit 7454da4)
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 #36926
The issue is caused by the combination of lightweight access tokens and transient sessions and had already occurred for the admin API in #32802. This PR fixes this case when a lightweight token with a transient session is used to register a client. Did som e refactoring to reuse the introspection part, and test added.