Verify the browser's assertion and elevate the calling session to AAL3
const url = 'https://example.com/v1/auth/webauthn/authenticate';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"credential":{},"name":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “ Authorizations ”Request Body required
Section titled “ Request Body required ”object
The browser’s encoded ceremony response.
object
Optional user-supplied display name for the credential.
Example generated
{ "credential": {}, "name": "example"}Responses
Section titled “ Responses ”OK
object
The session’s authenticator assurance level after the step-up.
Example generated
{ "aal": 1, "ok": true}Bad request
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Unauthenticated
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Forbidden
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Not found
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Conflict / setup required
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Rate limited
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}