{
  "id": "master",
  "realm": "master",
  "displayName": "Yalarba & Begushiybashkir",
  "displayNameHtml": "<div class=\"kc-logo-text\"><span>Yalarba Auth</span></div>",
  "enabled": true,
  "sslRequired": "external",
  "registrationAllowed": false,
  "loginWithEmailAllowed": true,
  "duplicateEmailsAllowed": false,
  "resetPasswordAllowed": true,
  "editUsernameAllowed": false,
  "bruteForceProtected": true,
  "permanentLockout": false,
  "maxFailureWaitSeconds": 900,
  "minimumQuickLoginWaitSeconds": 60,
  "waitIncrementSeconds": 60,
  "quickLoginCheckMilliSeconds": 1000,
  "maxDeltaTimeSeconds": 43200,
  "failureFactor": 5,
  
  "clients": [
    {
      "clientId": "yalarba-web",
      "name": "Yalarba.ru Web Application",
      "description": "Web application for yalarba.ru",
      "enabled": true,
      "protocol": "openid-connect",
      "publicClient": true,
      "standardFlowEnabled": true,
      "implicitFlowEnabled": false,
      "directAccessGrantsEnabled": false,
      "rootUrl": "https://yalarba.ru",
      "baseUrl": "https://yalarba.ru",
      "redirectUris": [
        "https://yalarba.ru/*",
        "https://www.yalarba.ru/*"
      ],
      "webOrigins": [
        "https://yalarba.ru",
        "https://www.yalarba.ru"
      ],
      "attributes": {
        "oauth2.device.authorization.grant.enabled": "false",
        "backchannel.logout.revoke.offline_tokens": "false"
      }
    },
    {
      "clientId": "begushiybashkir-web",
      "name": "Begushiybashkir.ru Web Application",
      "description": "Web application for begushiybashkir.ru",
      "enabled": true,
      "protocol": "openid-connect",
      "publicClient": true,
      "standardFlowEnabled": true,
      "implicitFlowEnabled": false,
      "directAccessGrantsEnabled": false,
      "rootUrl": "https://begushiybashkir.ru",
      "baseUrl": "https://begushiybashkir.ru",
      "redirectUris": [
        "https://begushiybashkir.ru/*",
        "https://www.begushiybashkir.ru/*"
      ],
      "webOrigins": [
        "https://begushiybashkir.ru",
        "https://www.begushiybashkir.ru"
      ],
      "attributes": {
        "oauth2.device.authorization.grant.enabled": "false",
        "backchannel.logout.revoke.offline_tokens": "false"
      }
    },
    {
      "clientId": "admin-cli",
      "name": "${client_admin-cli}",
      "enabled": true,
      "protocol": "openid-connect",
      "publicClient": false,
      "standardFlowEnabled": false,
      "implicitFlowEnabled": false,
      "directAccessGrantsEnabled": true,
      "serviceAccountsEnabled": true
    }
  ],
  
  "users": [
    {
      "username": "superadmin",
      "email": "admin@yalarba.ru",
      "firstName": "Super",
      "lastName": "Admin",
      "enabled": true,
      "emailVerified": true,
      "credentials": [
        {
          "type": "password",
          "value": "SuperAdmin123!",
          "temporary": false
        }
      ],
      "realmRoles": [
        "admin",
        "default-role-master"
      ],
      "clientRoles": {
        "realm-management": [
          "realm-admin"
        ]
      }
    }
  ]
}