Appwrite icon

Appwrite

Interact with Appwrite API

Actions181

Account → Create MFA Authenticator

AI-generated

Overview

This node interacts with the Appwrite API to perform various operations on different resources. Specifically, for the 'Account' resource and the 'Create MFA Authenticator' operation, it allows users to create a Multi-Factor Authentication (MFA) authenticator of a specified type (currently only TOTP - Authenticator App). This is useful for enhancing account security by enabling MFA for user accounts.

Use Case Examples

  1. Creating a TOTP MFA authenticator for a user account to improve security.
  2. Automating the setup of MFA authenticators in user onboarding workflows.

Properties

Name Meaning
MFA Type Specifies the type of MFA authenticator to create. Currently supports TOTP (Authenticator App).

Output

JSON

  • mfaAuthenticatorId - The unique identifier of the created MFA authenticator.
  • mfaAuthenticatorType - The type of the MFA authenticator created (e.g., TOTP).
  • mfaAuthenticatorSecret - The secret key used by the authenticator app to generate codes.
  • mfaAuthenticatorQrCode - A QR code image or URL to scan with the authenticator app for setup.

Dependencies

  • Appwrite API service

Troubleshooting

  • Ensure the Appwrite API credentials (endpoint, project ID, API key) are correctly configured to avoid authentication errors.
  • If the MFA type is not supported or incorrectly specified, the operation may fail; currently, only TOTP is supported.
  • Network connectivity issues to the Appwrite endpoint can cause request failures; verify network access and endpoint URL.
  • Errors from the Appwrite API will be returned and can be inspected in the node's error output; check error messages for details.

Links

Discussion