capabilities.work

B2B TOTP Authenticator Enrollment

A 2-step recipe with Stytch. We can help you get access.

Recipe · 2 steps

B2B TOTP Authenticator Enrollment

with Stytch · Identity & Access Management

Create a member TOTP registration and authenticate the first code.

  1. Create a TOTP registration for the member, returning the shared secret, QR code, and recovery codes for the authenticator app to scan.
  2. Authenticate the first TOTP code generated by the member's authenticator app to complete enrollment and mint a member session.
What you'll need to have ready
  • organization_id: The id of the organization the member belongs to.
  • member_id: The id of the member enrolling into TOTP.
  • code: The first TOTP code generated by the member's authenticator app.
  • session_duration_minutes: Optional session lifetime in minutes for the member session.
For your developer

Arazzo workflow stytch:totp-enrollment, 2 operations: api_b2b_totp_v1_Create → api_b2b_totp_v1_Authenticate. Specs on APIs.io.