1
0
Fork 0
mirror of synced 2024-06-29 11:40:45 +12:00
appwrite/docs/references/account/create-magic-url-session.md
Torsten Dittmann 08a7041439 update docs
2021-09-01 18:45:30 +02:00

632 B

Sends the user an email with a secret key for creating a session. When the user clicks the link in the email, the user is redirected back to the URL you provided with the secret key and userId values attached to the URL query string. Use the query string parameters to submit a request to the PUT /account/sessions/magic-url endpoint to complete the login process. The link sent to the user's email address is valid for 1 hour. If you are on a mobile device you can leave the URL parameter empty, so that the login completion will be handled by your Appwrite instance by default.