on-internet
← Community

Supabase emailRedirectTo ignored: redirect_to always falls back to Site URL despite being in allow-list (Capacitor + Android App Links)

Stack Overflow ·

Problem I am building a Capacitor app (Android) and using Supabase for authentication. I need the email confirmation link to open my native app, not my website. I have set up Android App Links (assetlinks.json, intent-filter, etc.) and added my redirect URLs to the Supabase allow-list. However, when Supabase sends the confirmation email, the redirect_to parameter is always overridden and points to my bare Site URL (https://farmearn.co.zw), causing the link to open the website in a browser instead of the app. What I've tried Confirmed both https://farmearn.co.zw/auth/callback and zw.co.farmearn

Comments

Sign in or sign up to comment and upvote.

No comments yet.