Actions181
- Account Actions
- Get Account
- Create Account
- Update Email
- Update Name
- Update Password
- Update Phone
- Update Status
- Get Preferences
- Update Preferences
- List Sessions
- Delete Sessions
- Get Session
- Update Session
- Delete Session
- Create Anonymous Session
- Create Email/Password Session
- Create Magic URL Session
- Create OAuth2 Session
- Create Phone Session
- Create Session from Token
- Create JWT
- Create Magic URL
- Create Phone Token
- Create Email Verification
- Update Email Verification
- Create Phone Verification
- Update Phone Verification
- Create Password Recovery
- Update Password Recovery
- Create Recovery
- Update Recovery
- Update MFA
- Create MFA Authenticator
- Update MFA Authenticator
- Delete MFA Authenticator
- Create MFA Challenge
- Update MFA Challenge
- Attribute Actions
- Avatars Actions
- Collection Actions
- Database Actions
- Document Actions
- Functions Actions
- Index Actions
- Locale Actions
- Messaging Actions
- Sites Actions
- Storage Actions
- Teams Actions
- Users Actions
Account → Create MFA Authenticator
AI-generatedOverview
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
- Creating a TOTP MFA authenticator for a user account to improve security.
- 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
- Appwrite Account Create MFA Authenticator API - Official documentation for creating MFA authenticators in Appwrite accounts.