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 Session
AI-generatedOverview
This node interacts with the Appwrite API to perform various operations on different resources. Specifically, for the 'Account' resource and the 'Create Magic URL Session' operation, it facilitates the creation of a magic URL session for user authentication. This is useful in scenarios where passwordless login or secure session creation via a magic link is desired. For example, it can be used to send users a link that, when clicked, logs them into their account without needing a password.
Use Case Examples
- Creating a magic URL session to enable passwordless login for users.
- Redirecting users to a success or failure URL after authentication via the magic URL session.
Properties
| Name | Meaning |
|---|---|
| Success URL | URL to redirect to after successful authentication. |
| Failure URL | URL to redirect to after failed authentication. |
Output
JSON
sessionId- Identifier of the created magic URL session.userId- Identifier of the user for whom the magic URL session was created.url- The magic URL that can be used to authenticate the user.
Dependencies
- Appwrite API key credential for authentication
Troubleshooting
- Ensure the Appwrite API credentials (endpoint, project ID, API key) are correctly configured to avoid authentication errors.
- Verify that the success and failure URLs are valid and accessible to prevent redirection issues after authentication.
- Common error messages may include network errors, invalid credentials, or permission issues; resolving these typically involves checking API keys, endpoint URLs, and user permissions.
Links
- Appwrite Create Magic URL Session API - Official documentation for creating a magic URL session in Appwrite Account API.