Parameters
Returns
Show properties
Show properties
Show properties
Show properties
Show properties
Show properties
StytchConsumer.passkeys.register({ domain: "example.com", sessionDurationMinutes: 30 })
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
StytchConsumer.passkeys.register({ domain: "example.com", sessionDurationMinutes: 30 })
Registers a new passkey for the current user. Performs a two-step flow: calls POST /sdk/v1/webauthn/register/start to get creation options, invokes the platform credential API to create the passkey, then calls POST /sdk/v1/webauthn/register to complete registration. Requires an active session.
Show properties
Show properties
Show properties
StytchConsumer.passkeys.register({ domain: "example.com", sessionDurationMinutes: 30 })