Authenticate
POST /auth/authentication
Authenticates a user using a WebAuthn credential. This endpoint verifies the authentication response from the client, updates the credential counter, and sets a signed cookie for the authenticated session.
SIWE Authentication
Submit the signed SIWE message to prove ownership of an Ethereum address. The server validates the signature against the original challenge message, verifies the domain and nonce match the session, and checks the message hasn’t expired. On successful verification, a signed HTTP-only credential_id cookie is set for authenticated API access.
Parameters
Section titled “ Parameters ”Cookie Parameters
Section titled “Cookie Parameters ”HTTP-only cookie.
Request Body
Section titled “Request Body ”object
Sign-in with Ethereum.
Address to sign in with.
Signature of the cryptographic challenge message.
object
WebAuthn.
Unique identifier for the authenticator.
Raw bytes of the credential identifier.
object
Authentication data from the client.
Data from the authenticator.
Cryptographic signature of the challenge.
Optional identifier for the user.
Results of optional features enabled during authentication.
Always public-key for WebAuthn.
Responses
Section titled “ Responses ”Authentication response with session expiry
object
When the authenticated session will expire.
This field is deprecated in favor of auth and will be removed in the next major version.