Skip to content

Support for service accounts when fetch roles is enabled #30687

Merged
pedroigor merged 2 commits into
keycloak:mainfrom
Romain7495:issue-30444
Jun 25, 2024
Merged

Support for service accounts when fetch roles is enabled #30687
pedroigor merged 2 commits into
keycloak:mainfrom
Romain7495:issue-30444

Conversation

@Romain7495

Copy link
Copy Markdown
Contributor

fixes: #30444

@pedroigor Wdyt about just checking if clientId is not set ?

@Romain7495 Romain7495 requested review from a team as code owners June 24, 2024 10:04
@Romain7495 Romain7495 changed the base branch from main to release/25.0 June 24, 2024 10:04
@Romain7495 Romain7495 force-pushed the issue-30444 branch 5 times, most recently from b2d903c to 1ffa090 Compare June 24, 2024 12:53
@pedroigor pedroigor changed the base branch from release/25.0 to main June 24, 2024 14:08
@pedroigor

pedroigor commented Jun 24, 2024

Copy link
Copy Markdown
Contributor

@Romain7495 Thanks. I've updated your branch and force-pushed an additional commit to support service accounts when fetch roles is enabled to a role policy.

Also changed the target branch of this PR to main. Once we merge it, I'll try to include it in the next patch release.

Does it work for you?

@Romain7495

Copy link
Copy Markdown
Contributor Author

Thanks @pedroigor LGTM

@Romain7495 Romain7495 changed the title do not fetchRoles when using client credentials Support for service accounts when fetch roles is enabled Jun 24, 2024
Romain7495 and others added 2 commits June 25, 2024 09:39
Closes keycloak#30444

Signed-off-by: Romain LABAT <contact@romainlabat.fr>
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
@pedroigor

Copy link
Copy Markdown
Contributor

@Romain7495 Thanks!

@pedroigor pedroigor merged commit 6615691 into keycloak:main Jun 25, 2024
Romain7495 added a commit to Romain7495/keycloak that referenced this pull request Jun 27, 2024
)

Support for service accounts when fetch roles is enabled

Signed-off-by: Romain LABAT <contact@romainlabat.fr>
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failed to evaluate permissions when fetchRoles is enabled on role policies

2 participants