chore: establish local platform baseline
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"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,
|
||||
"redirectUris": ["http://localhost:3100/*", "http://localhost:5173/*"],
|
||||
"webOrigins": ["http://localhost:3100", "http://localhost:5173"],
|
||||
"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}]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user