# Weweb + xano magic link login

**URL:** <https://community.weweb.io/t/weweb-xano-magic-link-login/6169>\
**Category:** Ask us anything\
**Created:** [January 2, 2024, 1:40pm UTC](https://community.weweb.io/t/weweb-xano-magic-link-login/6169 "2024-01-02T13:40:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kavi](https://avatars.discourse-cdn.com/v4/letter/k/a88e57/32.png) [@kavi](https://community.weweb.io/u/kavi)\
**Post date:** [January 2, 2024, 1:40pm UTC](https://community.weweb.io/t/weweb-xano-magic-link-login/6169/1 "2024-01-02T13:40:55Z")

</div>

I want to add magic link login system in my weweb app.  
I am adding the extension of Sendgrid in my xano backend app correctly and also receiving the magic link on given email.  
But after clicking the link in email , i’m getting forwarded to home page and not getting any type of data.  
Please help!  
I want to make my app that after clicking on magic link i will get redirected to my app from where i can get logged.  
If possible please provide the every steps.  
Thankyou in advance!

---

<div class="post-metadata">

**Author:** ![Quentin](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/quentin/32/6_2.png) [@Quentin](https://community.weweb.io/u/Quentin)\
**Post date:** [January 3, 2024, 3:44pm UTC](https://community.weweb.io/t/weweb-xano-magic-link-login/6169/2 "2024-01-03T15:44:14Z")

</div>

Hey @kavi 👋

To change the page the email is redirecting you to, you actually need to change the redirect page in Xano’s Sendgrid plugin settings.

Redirect on a WeWeb page that will read the magic link variable from the URL querystring, and then use this variable to trigger an on-page workflow that will log the user thanks to this variable.

We have a working example in the CRM template that you might find interesting: [Learn how to use WeWeb + Xano's CRM template | WeWeb documentation](https://docs.weweb.io/build-guides/using-the-crm-template.html)

---

<div class="post-metadata">

**Author:** ![kavi](https://avatars.discourse-cdn.com/v4/letter/k/a88e57/32.png) [@kavi](https://community.weweb.io/u/kavi)\
**Post date:** [January 4, 2024, 3:40am UTC](https://community.weweb.io/t/weweb-xano-magic-link-login/6169/3 "2024-01-04T03:40:51Z")

</div>

Thanks!  
Problem is solved and now i’m able to login.
