Skip to content

Commit 8cd8bde

Browse files
committed
Drop dead client scope references from the realm
A realm that declares its own clientScopes does not inherit Keycloak's built-ins, so the SPA clients' references to profile and email were ignored with a warning on every import. Nothing uses them yet; whoever picks up the frontend work should add the scopes properly rather than inherit two warnings everyone has learned to skip past.
1 parent d97ea0e commit 8cd8bde

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

robotics_integration_tests/custom_realms/robotics-realm.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@
322322
{
323323
"clientId": "flotilla-frontend",
324324
"name": "Flotilla frontend (local development)",
325-
"description": "Declared ahead of the frontend work so that picking it up needs no realm migration. Nothing uses this yet.",
325+
"description": "Declared ahead of the frontend work so that picking it up needs no realm migration. Nothing uses this yet. Add profile/email client scopes when that work is picked up; a realm declaring its own clientScopes does not inherit Keycloak's built-ins.",
326326
"enabled": true,
327327
"publicClient": true,
328328
"standardFlowEnabled": true,
@@ -337,8 +337,6 @@
337337
"pkce.code.challenge.method": "S256"
338338
},
339339
"defaultClientScopes": [
340-
"profile",
341-
"email",
342340
"entra-compat"
343341
],
344342
"optionalClientScopes": [
@@ -349,7 +347,7 @@
349347
{
350348
"clientId": "sara-frontend",
351349
"name": "SARA frontend (local development)",
352-
"description": "Declared ahead of the frontend work. Nothing uses this yet.",
350+
"description": "Declared ahead of the frontend work. Nothing uses this yet. Add profile/email client scopes when that work is picked up; a realm declaring its own clientScopes does not inherit Keycloak's built-ins.",
353351
"enabled": true,
354352
"publicClient": true,
355353
"standardFlowEnabled": true,
@@ -364,8 +362,6 @@
364362
"pkce.code.challenge.method": "S256"
365363
},
366364
"defaultClientScopes": [
367-
"profile",
368-
"email",
369365
"entra-compat"
370366
],
371367
"optionalClientScopes": [

0 commit comments

Comments
 (0)