S
Supabase2mo ago
Omar

Connectivity issue from Etisalat UAE

Hi Supabase team, We are experiencing connectivity problems with Supabase from the Etisalat network in the UAE. Project ID: xekojfishexppzlmfplj Ticket ID: SU-241640 Most of our users cannot connect without a VPN. Can you confirm if this is a known issue and if there’s a workaround or ETA for a fix?
7 Replies
malmazrou1993
malmazrou19932mo ago
I hope they fix this ASAP our Web Application is down because of this…
inder
inder2mo ago
For the time being if you're willing to setup a proxy server to route traffic from proxy server to supabase you can follow this solution https://discord.com/channels/839993398554656828/1412456024912302171/1412490597473849375
malmazrou1993
malmazrou19932mo ago
I have used cloud flare and now its working for the users, but what about the reset password its not working is there a way to change the confirmation url to the cloud flare worker?
inder
inder2mo ago
If you're using nextjs then you can redirect the user to your app and verify the token hash in your app's api routes. If you're redirecting the user to supabase for auth, then you should be able to change the email template in supabase dashboard For example: This is the default reset-password confirmationUrl in email template
https://<INSTANCE_ID>.supabase.co/auth/v1/verify?token=<TOKEN_HASH>&type=recovery&redirect_to=http://localhost:5173
https://<INSTANCE_ID>.supabase.co/auth/v1/verify?token=<TOKEN_HASH>&type=recovery&redirect_to=http://localhost:5173
You can replace the supabase domain with your cloudflare worker and that should work. Just make sure your cloudflare worker is sending the query params in the url to upstream
silentworks
silentworks2mo ago
You are better off just updating the email template and handle the verification in your application. https://github.com/silentworks/supabase-by-example/blob/main/nextjs/supabase/auth/email/recovery.html#L5 and https://github.com/silentworks/supabase-by-example/blob/main/nextjs/app/auth/confirm/route.ts This works with any framework btw
malmazrou1993
malmazrou19932mo ago
Thanks everyone
ShadowFT0
ShadowFT02mo ago
How is this done?

Did you find this page helpful?