Get registration options
GET /auth/registration
Initiates WebAuthn registration by generating credential creation options for a new user. Sets a session HTTP-only cookie.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Address to register with, if using Sign-in with Ethereum.
Responses
Section titled “ Responses ”WebAuthn registration options containing challenge, relying party info, and credential parameters for client-side credential creation
object
Sign-in with Ethereum.
Address to sign in with.
Message to sign.
object
WebAuthn.
Service the credential is being created for.
object
Name of the service being registered with.
Domain of the service being registered with.
Account information.
object
Unique identifier in the service.
Username in the service.
Name to be shown to the user.
Random bytes to be signed.
object
Always public-key for WebAuthn.
Should be ES256 (-7) for Ethereum-compatible cryptography.
Maximum time to complete registration.
object
Identifier of an existing credential.
Always public-key for WebAuthn.
How the credential can be used.
object
Type of authenticator to use.
Whether to create a discoverable credential.
Whether user presence must be verified.
Whether a discoverable credential is required.
Type of authentication UI to show.
How to handle authenticator attestation.
What attestation formats to accept.
Additional features to enable.