8000 Realm roles (group) missing when connecting MCP server using Dynamic Client Registration (DCR) in ChatGPT · keycloak keycloak · Discussion #43756 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

The client registration policies just enforce what is possible, not what is configured. So, when you change the policy to allow full scope that just means that when creating a client using client registration you can specify full scope; however, that means using the Keycloak client representations and not standard OAuth/OIDC client metadata.

You'll probably want to do this by creating a client scope not using full scope allowed. We're overusing the name scope in Keycloak for sure, so let me try to explain

  • Create a client scope - make it optional and give it some name that you can refer to later
  • Under the scope tab for the client scope you create add the realm roles you need

Then you nee…

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Lexachoc
Comment options

Answer selected by Lexachoc
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area/oidc OpenID Connect / OAuth 2.0 — tokens, endpoints, scopes, DCR, PAR, DPoP kind/bug Categorizes a PR related to a bug status/triage team/core-clients
3 participants
Converted from issue

This discussion was converted from issue #43654 on October 28, 2025 07:18.

0