Live environments and sign-ins
Set up two-factor (TOTP) for a test account
Accounts with two-factor sign in without anyone typing a code.
Open Manage environments… and the environment’s test accounts.
Paste the account’s TOTP secret: the base32 secret, or the whole
otpauth://URI from its QR code.Run the flow: the code is computed at sign-in time.
Other kinds of codes
Codes sent by email are read from the environment’s test inbox (Mailpit or Mailtrap). Codes by SMS work with a Twilio test number. A fixed code works for test accounts that accept one.
Didn’t answer your question? Contact support.