Skip to content

mfa_setup_completed

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

mfa_setup_completed

FunctionSource
encodeMfaSetupCompletedAuditReasonsrc/auth/stytch-invite.ts:532
FieldTypeRequiredNotes
member_idstringyes
factor_type"totp"yes
ist_consumedtrueyes

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.