Skip to content

Get registration options

GET
/auth/registration

Initiates WebAuthn registration by generating credential creation options for a new user. Sets a session HTTP-only cookie.

credentialId
Ethereum address

Address to register with, if using Sign-in with Ethereum.

string

WebAuthn registration options containing challenge, relying party info, and credential parameters for client-side credential creation

Any of:
Sign-in with Ethereum
object
method
required
Method

Sign-in with Ethereum.

Allowed values: siwe
address
required
Address

Address to sign in with.

string
message
required
Message

Message to sign.

string