Skip to content

passkey_registered

This page is auto-generated from src/auth/stytch-invite.ts. Do not edit by hand — see docs/dev/docs-auto-sync.md.

passkey_registered

FunctionSource
encodePasskeyRegisteredV2AuditReasonsrc/auth/stytch-invite.ts:325
FieldTypeRequiredNotes
member_idstringyes
credential_row_idstringyes
credential_idstringyes
device_type"singleDevice" | "multiDevice"yes
backed_upbooleanyes
transportsstring[]yes
aaguidstringno
device_namestringno

Emitted from POST /admin/ui/account/passkeys/register/complete after a successful verifyRegistrationResponse + INSERT into webauthn_credentials. Replaces the deprecated {@link encodePasskeyRegisteredAuditReason}; event string unchanged (passkey_registered) so the SIEM wire shape stays stable across the cutover.

This envelope is stored in audit_log.decision_reason (varchar(256)) as a JSON object with the shape { event, ...ctx }. The audit_log row carries tenant_id, actor_user_id, and timestamp as columns alongside — those are not duplicated in the envelope.