---
title: "Sign in using a WebAuthn key - Step 1"
method: POST
path: "/wan-signin"
---

# Sign in using a WebAuthn key - Step 1

`POST /wan-signin`

## Request body

- WanSignin
  - `identity` string
  - `remember` boolean — If true, will remember userid as part of cookie. There is a configuration variable DEFAULT_REMEMBER_ME that can be set. This field will override that.

## Response `200`

WebAuthn Sign in Step 1 response

- WanSigninJsonResponse
  - `meta` object, required
    - `code` integer, required — Http status code
  - `response` object, required
    - `credential_options` string
    - `wan_state` string
    - `is_secondary` boolean — Is this sign in part of a secondary authentication.
    - `remember` boolean — This is simply the same value as was passed in the body.

## Other responses

- `400` — Errors while validating attributes.

---

[API](https://skmtc.net/pallets-eco/apis/flask-security-external-api.md) · [All operations](https://skmtc.net/pallets-eco/apis/flask-security-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pallets-eco/flask-security-external-api/versions/5ee7c28d6e1e/schema)
