Register
POST /auth/registration
POST
/auth/registration
Registers a new WebAuthn credential for a user.
Parameters
Section titled “ Parameters ”Cookie Parameters
Section titled “Cookie Parameters ” session_id
required
Session identifier
HTTP-only cookie.
string
Request Body
Section titled “Request Body ” Any of:
Sign-in with Ethereum
object
method
required
Method
Sign-in with Ethereum.
id
required
Address
Address to sign in with.
string
signature
required
Signature
Signature of the cryptographic challenge message.
WebAuthn
object
method
Method
WebAuthn.
id
required
Credential identifier
Unique identifier for the authenticator.
string
rawId
required
Raw identifier
Raw bytes of the credential identifier.
string
response
required
object
clientDataJSON
required
Client data
Registration data from the client.
string
attestationObject
required
Attestation data
Data from the authenticator.
string
transports
Any of:
Array<string>
clientExtensionResults
required
Extension results
Results of optional features enabled during registration.
type
required
Credential type
Always public-key for WebAuthn.
Responses
Section titled “ Responses ”WebAuthn registration response containing credential identifier and factory address.
object
credentialId
required
Base64URL encoded credential identifier
string
factory
required
Account factory address
string
x
required
Credential public key x coordinate
y
required
Credential public key y coordinate
auth
required
Session expiry
When the authenticated session will expire.
number
intercomToken
required
Any of:
string