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 Magic URL
AI-generatedOverview
This node interacts with the Appwrite API to perform various operations related to user accounts, databases, attributes, avatars, indexes, collections, documents, functions, locales, messaging, sites, storage, teams, and users. Specifically, for the 'Account' resource and 'Create Magic URL' operation, it facilitates the creation of a magic URL for authentication or verification purposes. This is useful in scenarios where passwordless login or email verification is required, enhancing user experience and security. For example, it can be used to send a magic link to users for account verification or password recovery.
Use Case Examples
- Creating a magic URL for user email verification.
- Generating a magic URL for password recovery.
- Sending a magic URL to initiate an OAuth2 session.
Properties
| Name | Meaning |
|---|---|
| Success URL | URL to redirect to after successful authentication, used in operations like createOAuth2Session, updateMagicURL, and updateMagicURLSession. |
| Failure URL | URL to redirect to after failed authentication, used in operations like createOAuth2Session, updateMagicURL, and updateMagicURLSession. |
| URL | Verification callback URL used in operations like createEmailVerification, createPasswordRecovery, createRecovery, and updateMagicURL. |
Output
JSON
magicURL- The generated magic URL for authentication or verification.status- Status of the magic URL creation operation.error- Error details if the operation fails.
Dependencies
- Appwrite API endpoint
- Project ID
- API key
Troubleshooting
- Ensure the Appwrite API credentials (endpoint, project ID, API key) are correctly configured to avoid authentication errors.
- Verify that the URLs provided (successUrl, failureUrl, url) are valid and accessible to prevent redirection issues.
- Common errors may include network issues, invalid credentials, or incorrect operation parameters. Check error messages for specific details and adjust configuration accordingly.