Files
story/deploy/keycloak/realm-voice-local.json
T

85 lines
2.5 KiB
JSON
Raw Normal View History

2026-08-26 06:41:07 +08:00
{
"realm": "voice-local",
"enabled": true,
"displayName": "长者语音平台本地身份服务",
"sslRequired": "none",
"registrationAllowed": false,
"loginWithEmailAllowed": true,
"duplicateEmailsAllowed": false,
"resetPasswordAllowed": false,
"clients": [
{
"clientId": "voice-platform-web",
"name": "本地Web客户端",
"enabled": true,
"publicClient": true,
"standardFlowEnabled": true,
"directAccessGrantsEnabled": true,
2026-08-26 07:46:41 +08:00
"redirectUris": [
"http://localhost:3100/*",
"http://127.0.0.1:3100/*",
2026-08-26 08:59:44 +08:00
"http://121.41.46.238/*",
2026-08-26 10:04:01 +08:00
"https://121.41.46.238/*",
2026-08-26 10:26:06 +08:00
"https://121.41.46.238:80/*",
2026-08-26 07:46:41 +08:00
"http://localhost:5173/*",
"http://127.0.0.1:5173/*"
],
"webOrigins": [
"http://localhost:3100",
"http://127.0.0.1:3100",
2026-08-26 08:59:44 +08:00
"http://121.41.46.238",
2026-08-26 10:04:01 +08:00
"https://121.41.46.238",
2026-08-26 10:26:06 +08:00
"https://121.41.46.238:80",
2026-08-26 07:46:41 +08:00
"http://localhost:5173",
"http://127.0.0.1:5173"
],
2026-08-26 06:41:07 +08:00
"protocol": "openid-connect",
"protocolMappers": [
{
"name": "voice-platform-audience",
"protocol": "openid-connect",
"protocolMapper": "oidc-audience-mapper",
"consentRequired": false,
"config": {
"included.client.audience": "voice-platform-web",
"access.token.claim": "true",
"id.token.claim": "false"
}
}
]
}
],
"users": [
{
"id": "00000000-0000-0000-0000-000000000101",
"username": "owner",
"firstName": "本地",
"lastName": "所有者",
"email": "owner@example.invalid",
"emailVerified": true,
"enabled": true,
"credentials": [{"type": "password", "value": "LocalOnly123!", "temporary": false}]
},
{
"id": "00000000-0000-0000-0000-000000000102",
"username": "editor",
"firstName": "本地",
"lastName": "编辑者",
"email": "editor@example.invalid",
"emailVerified": true,
"enabled": true,
"credentials": [{"type": "password", "value": "LocalOnly123!", "temporary": false}]
},
{
"id": "00000000-0000-0000-0000-000000000103",
"username": "outsider",
"firstName": "隔离租户",
"lastName": "查看者",
"email": "outsider@example.invalid",
"emailVerified": true,
"enabled": true,
"credentials": [{"type": "password", "value": "LocalOnly123!", "temporary": false}]
}
]
}