Login

Risky logins with
the right password

Check returning accounts for unfamiliar devices and risky login patterns before creating a session.

Decision trace

Example ยท block modeRisky login
  1. Input signalsA human verdict from an unfamiliar device, in a different country 40 minutes after the last allowed login.
  2. Reason idsnew_deviceimpossible_travel
  3. Decisionchallenge on a human verdict
  4. SessionWait for a verified step-up proof

How it works

  1. Identify the login

    Verify a browser token with a login action and your trusted account id.

  2. Compare history

    Check known device hashes, the last allowed country and time, and account-attempt velocity.

  3. Gate the session

    Your backend checks the password and only creates a session after an allow or verified step-up.

API

Use the normal verification endpoint. Keep the secret server-side.

POST https://nolgard.com/v1/verify
Content-Type: application/json

{
  "secret": "SITE_SECRET",
  "token": "BROWSER_TOKEN",
  "action": "login",
  "account": { "id": "user_42" }
}

// Example response fields
{
  "success": true,
  "decision": "challenge",
  "ref": "ev_123",
  "login": {
    "knownDevices": 2,
    "newDevice": true
  }
}

Limits

Rules: test on history before enforcing a policy that matches login reason IDs.