70 lines
1.5 KiB
JSON
70 lines
1.5 KiB
JSON
{
|
|
"realm": "workspace",
|
|
"enabled": true,
|
|
"displayName": "Workspace Realm",
|
|
"displayNameHtml": "<div class=\"kc-logo-text\"><span>Workspace</span></div>",
|
|
"users": [
|
|
{
|
|
"username": "admin",
|
|
"enabled": true,
|
|
"emailVerified": true,
|
|
"firstName": "Admin",
|
|
"lastName": "User",
|
|
"email": "admin@example.com",
|
|
"credentials": [
|
|
{
|
|
"type": "password",
|
|
"value": "change-me-in-production",
|
|
"temporary": false
|
|
}
|
|
],
|
|
"realmRoles": ["admin", "user"]
|
|
}
|
|
],
|
|
"roles": {
|
|
"realm": [
|
|
{
|
|
"name": "admin",
|
|
"description": "Administrator role"
|
|
},
|
|
{
|
|
"name": "user",
|
|
"description": "Standard user role"
|
|
},
|
|
{
|
|
"name": "developer",
|
|
"description": "Developer role"
|
|
},
|
|
{
|
|
"name": "viewer",
|
|
"description": "View-only role"
|
|
}
|
|
]
|
|
},
|
|
"clients": [
|
|
{
|
|
"clientId": "workspace-api",
|
|
"enabled": true,
|
|
"clientAuthenticatorType": "client-secret",
|
|
"secret": "change-me-in-production",
|
|
"redirectUris": ["*"],
|
|
"webOrigins": ["*"],
|
|
"protocol": "openid-connect",
|
|
"publicClient": false,
|
|
"standardFlowEnabled": true,
|
|
"directAccessGrantsEnabled": true
|
|
}
|
|
],
|
|
"identityProviders": [],
|
|
"smtpServer": {
|
|
"host": "smtp.example.com",
|
|
"port": "587",
|
|
"from": "noreply@example.com",
|
|
"auth": true,
|
|
"starttls": true,
|
|
"user": "smtp-user",
|
|
"password": "smtp-password"
|
|
}
|
|
}
|
|
|