Skip to content

Verify the browser's assertion and elevate the calling session to AAL3

POST
/v1/auth/webauthn/authenticate
curl --request POST \
--url https://example.com/v1/auth/webauthn/authenticate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "credential": {}, "name": "example" }'

Verifies the browser’s assertion against the issued challenge and elevates the calling session to AAL3; the panel re-reads whoami to lift its gate. Any ceremony failure is a deliberately coarse 403 whose cause goes to the server log, never the response.

Media type application/json
object
credential
required

The browser’s encoded ceremony response.

object
name

Optional user-supplied display name for the credential.

string
Example generated
{
"credential": {},
"name": "example"
}

OK

Media type application/json
object
aal
required

The session’s authenticator assurance level after the step-up.

integer
ok
required
boolean
Example generated
{
"aal": 1,
"ok": true
}

Bad request

Media type application/json
object
error
required
object
code
required
string
message
required
string
module

With code module_not_enabled: the namespace of the module this node does not run.

string
Example generated
{
"error": {
"code": "example",
"message": "example",
"module": "example"
}
}

Unauthenticated

Media type application/json
object
error
required
object
code
required
string
message
required
string
module

With code module_not_enabled: the namespace of the module this node does not run.

string
Example generated
{
"error": {
"code": "example",
"message": "example",
"module": "example"
}
}

Forbidden

Media type application/json
object
error
required
object
code
required
string
message
required
string
module

With code module_not_enabled: the namespace of the module this node does not run.

string
Example generated
{
"error": {
"code": "example",
"message": "example",
"module": "example"
}
}

Not found

Media type application/json
object
error
required
object
code
required
string
message
required
string
module

With code module_not_enabled: the namespace of the module this node does not run.

string
Example generated
{
"error": {
"code": "example",
"message": "example",
"module": "example"
}
}

Conflict / setup required

Media type application/json
object
error
required
object
code
required
string
message
required
string
module

With code module_not_enabled: the namespace of the module this node does not run.

string
Example generated
{
"error": {
"code": "example",
"message": "example",
"module": "example"
}
}

Rate limited

Media type application/json
object
error
required
object
code
required
string
message
required
string
module

With code module_not_enabled: the namespace of the module this node does not run.

string
Example generated
{
"error": {
"code": "example",
"message": "example",
"module": "example"
}
}