Skip to content

lockoutConfig

Get the lockout configurations of the current organization.

Returns

LockoutConfig!

Sample

query {
  lockoutConfig {
    accountAutoUnlockDurationInMins
    isAutoUnlockFeatureEnabled
    isBruteForceLockoutEnabled
    isSelfServiceEnabled
    loginAttemptsLimit
    selfServiceAttemptsLimit
    selfServiceTokenValidityInMins
  }
}
{}
{
  "data": {
    "lockoutConfig": {
      "accountAutoUnlockDurationInMins": 0,
      "isAutoUnlockFeatureEnabled": true,
      "isBruteForceLockoutEnabled": true,
      "isSelfServiceEnabled": true,
      "loginAttemptsLimit": 0,
      "selfServiceAttemptsLimit": 0,
      "inactiveLockoutConfig": {
        "inactivityDaysLimit": 0,
        "isInactiveLockoutEnabled": true,
        "isSelfServiceUnlockEnabled": true,
        "isWarningEmailEnabled": true,
        "numDaysBeforeWarningEmail": 0
      }
    }
  }
}