---
title: "Generate WebAuthn authentication options"
method: POST
path: "/auth/webauthn/login-options"
---

# Generate WebAuthn authentication options

`POST /auth/webauthn/login-options`

Generate authentication options for WebAuthn.

## Request body

- AuthenticationOptions
  - `email` string

## Response `200`

Authentication options generated

- object

## Other responses

- `404` — User not found

## Changes

- **2024-10-02** `cf59c28790e6` — 1 info
  - api operation id `backend.api.AuthView.webauthn_login_options` was added
- **2024-10-02** `c9062e3a3c54` — 1 info
  - endpoint added
- **2024-06-04** `578e8efc5755` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api/changes/auth/webauthn/login-options/post.md)

---

[API](https://skmtc.dev/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api.md) · [All operations](https://skmtc.dev/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api/revisions/3c144b366e19?raw)
