verify 2fa

This block is part of the users group and was last modified in core v10.4.28.

verify 2fa v10.4.28

verify the user their 2fa code

In pins 3 + flow
  • flow
  • Auth object required

    The auth object which is returned from the signin action

  • Method value required

    2FA method that you want to verify: totp, mobile, otp or backup_codes. A passkey cannot be verified from a flow : it is a browser ceremony answered through the HTTP verify endpoints.

  • 2FA Token value required

    2FA token to verify

Out pins 2 + flow
  • flow
  • User object
  • Valid condition
yubikey
otp
totp

A typical wiring for verify 2fa: a function trigger starts the flow; new object feeds the auth pin; value feeds the method pin; value feeds the token pin; the flow out pin feeds debug.

Studio canvas example for the verify 2fa block: typical wiring for verify 2fa.

Used in these guides

These documentation pages use or explain this block:

Version history

Introduced in v10.4.28.

  • v15.0.1: in-pin method: documentation updated

Back to users Return to the main group to view all sub-groups Back to user management Return to the group to view all blocks within this group