{
  "type": "https://errors.swepay.com.br/native-guard/step-up-invalid-assertion",
  "service": "native-guard",
  "slug": "step-up-invalid-assertion",
  "httpStatus": 400,
  "title": "Invalid Biometric Assertion",
  "summary": "The biometric assertion sent to complete a step-up challenge could not be accepted.",
  "description": "Returned by `POST /identity/v1/realms/{realm}/stepup/biometric` when the\nbiometric assertion cannot be trusted for this realm: its signature or\nstructure could not be verified against the realm's configuration, it does\nnot report a successful verification, or it was issued for a different\ntenant. The login is not completed.\n\nThe challenge is consumed by this attempt. `detail` gives a short reason; its\nwording is not part of the contract — do not branch on it.\n",
  "commonCauses": [
    "The assertion is malformed, truncated, or was altered in transit.",
    "The signature, issuer or audience does not match what the realm is configured to trust.",
    "The biometric verification did not end with a `Verified` decision.",
    "The assertion was issued for a different tenant than the realm in the path."
  ],
  "clientAction": "Not retryable as sent: neither the assertion nor the `challengeId` can be\nused again. Start the login again to receive a new challenge, run a new\nbiometric verification with purpose `Challenge`, and submit the new\nassertion exactly as received.\n\nIf every fresh assertion is rejected, the realm's biometrics configuration\n(JWKS URL, issuer, audience) probably does not match the issuer; that has to\nbe fixed by the realm administrator.\n",
  "exampleResponse": {
    "type": "https://errors.swepay.com.br/native-guard/step-up-invalid-assertion",
    "title": "Invalid Biometric Assertion",
    "status": 400,
    "detail": "The biometric assertion could not be verified.",
    "traceId": "Root=1-00000000-000000000000000000000000;Parent=0000000000000000;Sampled=0"
  },
  "relatedDocs": [
    {
      "label": "RFC 9457 — Problem Details",
      "url": "https://www.rfc-editor.org/rfc/rfc9457"
    },
    {
      "label": "RFC 9470 — OAuth 2.0 Step Up Authentication Challenge Protocol",
      "url": "https://www.rfc-editor.org/rfc/rfc9470"
    }
  ],
  "category": "service",
  "deprecated": false,
  "documentation": "https://errors.swepay.com.br/native-guard/step-up-invalid-assertion"
}