Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

fix(ci): give the Keycloak probe user a name so it can obtain a token (#1213)

Beenu Aroraa8c632af3119
diff --git a/scripts/ci/keycloak_oidc_probe.py b/scripts/ci/keycloak_oidc_probe.py
index f4b059983..07c286e3e 100644
--- a/scripts/ci/keycloak_oidc_probe.py
+++ b/scripts/ci/keycloak_oidc_probe.py
@@ -91,6 +91,15 @@ def bootstrap() -> str:
"email": EMAIL,
"emailVerified": True,
"enabled": True,
+ # Keycloak's `VERIFY_PROFILE` required action is on by
+ # default and is evaluated against profile completeness at
+ # token time rather than stored on the user, so the account
+ # reads as `requiredActions: []` and still refuses the
+ # password grant with `invalid_grant: "Account is not fully
+ # set up"`. A name is what it is waiting for; without these
+ # two fields this probe cannot obtain a token at all.
+ "firstName": "Alice",
+ "lastName": "Analyst",
"credentials": [{"type": "password", "value": PASSWORD, "temporary": False}],
},
),