# Video Tutorial for Supabase Magic Link

**URL:** <https://community.weweb.io/t/video-tutorial-for-supabase-magic-link/5234>\
**Category:** Tutorials\
**Tags:** authentication, supabase\
**Created:** [November 6, 2023, 9:10am UTC](https://community.weweb.io/t/video-tutorial-for-supabase-magic-link/5234 "2023-11-06T09:10:03Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![greger](https://avatars.discourse-cdn.com/v4/letter/g/f9ae1b/32.png) [@greger](https://community.weweb.io/u/greger)\
**Post date:** [December 20, 2023, 9:33pm UTC](https://community.weweb.io/t/video-tutorial-for-supabase-magic-link/5234/4 "2023-12-20T21:33:51Z")

</div>

I found a solution to handle redirection to private page with Magic Link from Supabase. Here are some resources and a solution, which have been tested and works in production!

Similar challenges with redirection to private page:

> [@How to make Google Auth + supabase redirect to a private page](https://community.weweb.io/t/how-to-make-google-auth-supabase-redirect-to-a-private-page/4874/2):
>
> Hi @TapTap21 wave Ah yes. I need to improve the docs on this! You need to redirect to a public page because that’s what allows WeWeb (or any frontend for that matter) to read the cookie from the external provider before it gets the user: If you redirected directly to a private page, the authentication would fail. For your use case, your public page can be blank with a workflow triggered On page load (before fetching collections) to redirect the user …

Solution with Post Page redirect to private page:

[![](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/3/3b96da8ff0a4c1a6ff99cfd31ccfd778ba21fa84.jpeg "Add Google OAuth to your WeWeb project (using Xano)") ](https://www.youtube.com/watch?v=FaTHPG9kUrk&t=1573s)

Documentation for handling 3P auth redirection to private page:

> **[Xano authentication | WeWeb Documentation](https://docs.weweb.io/plugins/auth-systems/xano-auth.html#oauth-social-sign-in)**
>
> Learn how to work with Xano auth in WeWeb

---

_[View the full topic](https://community.weweb.io/t/video-tutorial-for-supabase-magic-link/5234)._
