Set .ConfirmationURL to url of active enviroment
We use Supabase free plan for development with plans to switch to paid plan once app roles out, but for now I need to test email system with said free tier. Problem is that:
1. I can't find option to change Confirmation URL
2. I need Confirmation URL to be
localhost:5173
when on dev, and prod url on prod
All I found is how to change redirect url, but right now it's set to localhost:3000
, which is odd because in emails we get :5173
3 Replies
Redirect URLs | Supabase Docs
Set up redirect urls with Supabase Auth.
It redirects me to localhost:3000
mb, didnt add url to allowed redirects
Tho my confirmation link doesn't work
https://dev.xxx.amplifyapp.com/auth/confirm/?token_hash=2342879b66999b44799a30385d81a46e94377b54c4a555ed86a27159&type=email
It redirects to /auth/confirm but what am I supposed to do with it on the front end?
Depends on your workflow. Are you using an AI tool to build this? What stack is this being built with?