Skip to content

Commit f44cd00

Browse files
Add basic client scope to Keycloak realm config
Adds missing 'basic' client scope to the fastmcp realm configuration to resolve Keycloak warning: "Referenced client scope 'basic' doesn't exist. Ignoring" The scope is configured as an openid-connect protocol scope that is included in tokens but not displayed on the consent screen.
1 parent f2eda1a commit f44cd00

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

examples/auth/keycloak_auth/keycloak/realm-fastmcp.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,15 @@
180180
"consent.screen.text": "${offlineAccessScopeConsentText}",
181181
"display.on.consent.screen": "true"
182182
}
183+
},
184+
{
185+
"name": "basic",
186+
"description": "Basic client scope",
187+
"protocol": "openid-connect",
188+
"attributes": {
189+
"include.in.token.scope": "true",
190+
"display.on.consent.screen": "false"
191+
}
183192
}
184193
]
185194
}

0 commit comments

Comments
 (0)