Skip to main content

FIDO2 registration options (also handles authentication)

POST 

/nevisfido/fido2/attestation/options

This endpoint implements the first step of the FIDO2/WebAuthn ceremony flow as defined by the W3C WebAuthn specification, where the server generates a cryptographic challenge and configuration options for the client before the authenticator is invoked. The client passes the returned options to the WebAuthn browser API, which prompts the user's platform or roaming authenticator to create or retrieve a credential. Once the authenticator has responded, the client submits its output to the corresponding result endpoint to complete the ceremony. This endpoint handles both registration and authentication in a single path — the ceremony type is determined automatically from the content of the request.

Request

Responses

OK The server processed the request successfully. A ServerPublicKeyCredentialCreationOptionsResponse JSON object is returned.