{ "realm": "memory-service", "enabled": true, "displayName": "Memory Service", "users": [ { "username": "bob", "enabled": true, "firstName": "Bob", "lastName": "Builder", "email": "bob@example.com", "emailVerified": true, "credentials": [ { "type": "password", "value": "bob", "temporary": false } ], "realmRoles": ["user"], "groups": [], "requiredActions": [] }, { "username": "alice", "enabled": true, "firstName": "Alice", "lastName": "Tester", "email": "alice@example.com", "emailVerified": true, "credentials": [ { "type": "password", "value": "alice", "temporary": false } ], "realmRoles": ["user", "admin"], "groups": [], "requiredActions": [] } ], "roles": { "realm": [ { "name": "user", "description": "Standard user" }, { "name": "admin", "description": "Administrator with full access" }, { "name": "auditor", "description": "Auditor with read-only access" } ], "client": {} }, "clients": [ { "clientId": "memory-service-client", "name": "Memory Service", "description": "Confidential client for memory-service", "enabled": true, "protocol": "openid-connect", "clientAuthenticatorType": "client-secret", "secret": "change-me", "redirectUris": [ "http://localhost:8080/*", "http://127.0.0.1:8080/*", "http://localhost:9090/*", "http://127.0.0.1:9090/*" ], "webOrigins": ["*"], "standardFlowEnabled": true, "implicitFlowEnabled": false, "directAccessGrantsEnabled": true, "serviceAccountsEnabled": true, "publicClient": false, "authorizationServicesEnabled": false, "fullScopeAllowed": true, "defaultClientScopes": [ "web-origins", "profile", "roles", "email" ] }, { "clientId": "frontend", "name": "Agent Frontend", "description": "Public client for agent chat SPA", "enabled": true, "protocol": "openid-connect", "publicClient": true, "redirectUris": [ "http://localhost:3000", "http://127.0.0.1:3000", "http://localhost:8080/*", "http://127.0.0.1:8080/*", "http://localhost:9090/*", "http://127.0.0.1:9090/*", "http://localhost:5173/*", "http://127.0.0.1:5173/*" ], "webOrigins": [ "http://localhost:3000", "http://127.0.0.1:3000", "http://localhost:8080", "http://127.0.0.1:8080", "http://localhost:9090", "http://127.0.0.1:9090", "http://localhost:5173", "http://127.0.0.1:5173" ], "standardFlowEnabled": true, "implicitFlowEnabled": false, "directAccessGrantsEnabled": false, "serviceAccountsEnabled": false, "authorizationServicesEnabled": false, "fullScopeAllowed": true, "defaultClientScopes": [ "web-origins", "profile", "roles", "email" ], "protocolMappers": [ { "name": "realm roles", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-realm-role-mapper", "consentRequired": false, "config": { "multivalued": "true", "userinfo.token.claim": "true", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "realm_access.roles", "jsonType.label": "String" } } ] } ] }