# saml_assertion_replayed

<!-- Generated by scripts/generate.ts. Do not edit. -->

<!-- Source: core commit `f70874a3916ad5b24a8619246cbae6cc8bc24d27`. -->

<div data-pagefind-ignore>

Since API version `1.0`.

| Field     | Value            |
| --------- | ---------------- |
| Type      | `authentication` |
| Status    | 400              |
| Surfaces  | `broker`         |
| Retryable | No               |

</div>

## What it means

OhAuthCat already accepted this SAML assertion or this SAML response once. Each assertion signs a user in only one time, so a second use is refused. This also covers a response posted to the assertion consumer service (ACS) URL again after its sign-in finished.

## Likely causes

- The user pressed Back or Refresh after signing in, and the browser posted the SAML response again.
- A double click or an automatic form resubmission sent the same response twice.
- Something captured a SAML response and tried to use it again (a replay attempt).

## How to fix it

### For developers

- Start a new sign-in from your app instead of posting the old response again; each attempt needs a fresh authorization request.
- After the callback, redirect the user away from the sign-in pages so Back does not land on the ACS form post.
- If you see this without user action, look up the request ID in the sign-in log and check for a proxy or script that repeats POST requests.

### For IT administrators

- Start the sign-in again from the app, not from the browser history.

## Example

The browser shows the hosted error page with HTTP status 400:

```text
Error code: saml_assertion_replayed
Request ID: req_01J9Z3K5V7W8X9Y0Z1A2B3C4D5
```

## Developer message

The assertion was already used

## IT administrator message

This sign-in response was already used, so it can't be accepted again

## Translated IT administrator messages

The hosted portal shows these machine translations, which native speakers have not reviewed yet. Placeholders and identity provider console labels stay in English.

- `de`: <span lang="de" data-pagefind-ignore>Diese Anmeldeantwort wurde bereits verwendet und kann nicht noch einmal angenommen werden</span>
- `es`: <span lang="es" data-pagefind-ignore>Esta respuesta de inicio de sesión ya se usó y no se puede aceptar de nuevo</span>
- `fr`: <span lang="fr" data-pagefind-ignore>Cette réponse de connexion a déjà été utilisée et ne peut pas être acceptée une seconde fois</span>
- `ja`: <span lang="ja" data-pagefind-ignore>このサインイン応答はすでに使用されているため、再度受け付けることはできません</span>
- `pt-BR`: <span lang="pt-BR" data-pagefind-ignore>Esta resposta de login já foi usada e não pode ser aceita novamente</span>

Security invariants: 11.
