Resend + Supabase
Mismatched URLs can trigger spam filters. in Resend.
Is there any way i can prevent that by using a subdomain with supabase?
instead of sending supabase url
https://hyhgfpusexqulkdkoidp.supabase.co/auth/v1/verify?token=saliohdaihsduiadsa&type=signup&redirect_to=https://yourdomain.com
i wanna use
https://sub.yourdomain.com/auth/v1/verify?token=saliohdaihsduiadsa&type=signup&redirect_to=https://yourdomain.com
2 Replies
You can look into custom domains https://supabase.com/docs/guides/platform/custom-domains
But I'd recommend to modify the default email template and redirect the user to your app instead of supabase. use verifyOtp method https://supabase.com/docs/reference/javascript/auth-verifyotp
You can take a look at this example repo https://github.com/silentworks/supabase-by-example/tree/main
There are examples for different frameworks
wait. thanks ill check.