Stytch · Arazzo Workflow
Stytch TOTP Authenticator Enrollment
Version 1.0.0
Create a user, register a TOTP authenticator, and authenticate the first code.
View Spec
View on GitHub
AuthenticationIdentityPasswordlessSecurityB2BConnected AppsMCPAI AgentsDeveloper ToolsArazzoWorkflows
Provider
Workflows
totp-enrollment
Create a user, generate a TOTP secret, and authenticate the first code.
Provisions a user, creates a TOTP registration returning a secret and QR code, then verifies the first authenticator code to complete enrollment and obtain a session.
1
createUser
api_user_v1_Create
Add a new user to Stytch to enroll into TOTP, returning the user_id.
2
createTotp
api_totp_v1_Create
Create a TOTP registration for the user, returning the shared secret, QR code, and recovery codes for the authenticator app to scan.
3
authenticateTotp
api_totp_v1_Authenticate
Authenticate the first TOTP code generated by the authenticator app to confirm enrollment and mint a session.