118 lines
2.6 KiB
JSON
118 lines
2.6 KiB
JSON
{
|
|
"realm": "switchboard",
|
|
"enabled": true,
|
|
"registrationAllowed": false,
|
|
"loginWithEmailAllowed": true,
|
|
"duplicateEmailsAllowed": false,
|
|
"sslRequired": "none",
|
|
"roles": {
|
|
"realm": [
|
|
{
|
|
"name": "sb-admin",
|
|
"description": "Switchboard admin role"
|
|
},
|
|
{
|
|
"name": "sb-user",
|
|
"description": "Switchboard regular user role"
|
|
}
|
|
]
|
|
},
|
|
"groups": [
|
|
{
|
|
"name": "engineering",
|
|
"path": "/engineering"
|
|
},
|
|
{
|
|
"name": "leads",
|
|
"path": "/leads"
|
|
}
|
|
],
|
|
"clients": [
|
|
{
|
|
"clientId": "switchboard",
|
|
"name": "Chat Switchboard",
|
|
"enabled": true,
|
|
"publicClient": false,
|
|
"secret": "switchboard-secret",
|
|
"redirectUris": [
|
|
"http://localhost:3000/*",
|
|
"http://localhost:8080/*"
|
|
],
|
|
"webOrigins": [
|
|
"http://localhost:3000",
|
|
"http://localhost:8080"
|
|
],
|
|
"standardFlowEnabled": true,
|
|
"directAccessGrantsEnabled": true,
|
|
"serviceAccountsEnabled": false,
|
|
"protocol": "openid-connect",
|
|
"fullScopeAllowed": true,
|
|
"protocolMappers": [
|
|
{
|
|
"name": "groups",
|
|
"protocol": "openid-connect",
|
|
"protocolMapper": "oidc-group-membership-mapper",
|
|
"consentRequired": false,
|
|
"config": {
|
|
"full.path": "false",
|
|
"introspection.token.claim": "true",
|
|
"userinfo.token.claim": "true",
|
|
"id.token.claim": "true",
|
|
"access.token.claim": "true",
|
|
"claim.name": "groups",
|
|
"jsonType.label": "String"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"users": [
|
|
{
|
|
"username": "alice",
|
|
"email": "alice@switchboard.test",
|
|
"firstName": "Alice",
|
|
"lastName": "Engineer",
|
|
"enabled": true,
|
|
"emailVerified": true,
|
|
"credentials": [
|
|
{
|
|
"type": "password",
|
|
"value": "alice123",
|
|
"temporary": false
|
|
}
|
|
],
|
|
"realmRoles": [
|
|
"sb-user",
|
|
"default-roles-switchboard"
|
|
],
|
|
"groups": [
|
|
"/engineering"
|
|
]
|
|
},
|
|
{
|
|
"username": "bob",
|
|
"email": "bob@switchboard.test",
|
|
"firstName": "Bob",
|
|
"lastName": "Lead",
|
|
"enabled": true,
|
|
"emailVerified": true,
|
|
"credentials": [
|
|
{
|
|
"type": "password",
|
|
"value": "bob123",
|
|
"temporary": false
|
|
}
|
|
],
|
|
"realmRoles": [
|
|
"sb-admin",
|
|
"sb-user",
|
|
"default-roles-switchboard"
|
|
],
|
|
"groups": [
|
|
"/engineering",
|
|
"/leads"
|
|
]
|
|
}
|
|
]
|
|
}
|