# WebAuthn user mismatch

KeenAuth API は、この問題タイプを HTTP ステータス 401(Unauthorized)で返します。

## 問題タイプ

| フィールド | 値 |
|---|---|
| タイプ URI | `https://docs.keenauth.com/errors/webauthn_user_mismatch` |
| コード | `webauthn_user_mismatch` |
| HTTP ステータス | 401 Unauthorized |
| タイトル | WebAuthn user mismatch |

## 意味

API 契約からの説明(原文のまま、翻訳していません):

> In a discoverable sign-in, the `userHandle` does not match the credential's user. Details appear only in the security log.

## レスポンスの例

レスポンス本文の例です。`detail` は人が読める英語の説明で、エンドユーザー向けではありません。`instance` はリクエストを識別します。

```json
{
  "type": "https://docs.keenauth.com/errors/webauthn_user_mismatch",
  "title": "WebAuthn user mismatch",
  "status": 401,
  "code": "webauthn_user_mismatch",
  "detail": "...",
  "instance": "urn:idp:request:<request_id>"
}
```

すべてのエラーコード: [エラーリファレンス](/docs/errors)。
