This is a web redirect page for the RotaryPay application's authentication flows. It handles email confirmation, password reset, and other authentication redirects from Supabase.
When users receive authentication emails (like email confirmation or password reset) and click on the links, this page:
- Captures the authentication parameters from the URL
- Attempts to redirect to the RotaryPay mobile app using the custom URL scheme
- Provides a fallback UI if the app isn't installed on the device
The page uses JavaScript to:
- Extract authentication parameters from the URL
- Create a deep link with the custom URL scheme
rotarytransactionapp://
- Redirect the user to the app
- Show a helpful message if redirection doesn't happen automatically
This page should be deployed to a web hosting service like Vercel, Netlify, or GitHub Pages. After deployment, update your Supabase project settings to use this URL for redirects.
In your Supabase dashboard:
- Go to Authentication → URL Configuration
- Set the Site URL to your deployed web page URL
- Add the same URL to the Redirect URLs list