Skip to content

Finish signing in with a passkey: sets the session cookie

The OpenAPI spec (JSON)Licence, versions and sign-in

POST
/api/v1/auth/login/finish
curl --request POST \
--url https://deck.example.com/api/v1/auth/login/finish \
--header 'Content-Type: application/json' \
--data '{ "ceremony": "example", "credential": "example" }'
  • None

The browser’s answer to a ceremony.

Media typeapplication/json

The browser’s answer to a ceremony.

object
ceremony
required
string
credential
required

The WebAuthn credential as JSON, from navigator.credentials.create() or .get().

Example generated

{
"ceremony": "example",
"credential": "example"
}

An error, with its message.

Media typeapplication/json

Every error the REST API returns, with an HTTP status.

object
error
required
string

Example generated

{
"error": "example"
}