Redirect URL configuration
Hi,
In my web app, I’m using Login with LinkedIn for Auth with Supabase. I have set up the URL configuration in Superbase which allows me to redirect to the right page post-auth.
I am having issues using different auth flows. For example:
Any pointers on how I can implement conditional authentication flows?
In my web app, I’m using Login with LinkedIn for Auth with Supabase. I have set up the URL configuration in Superbase which allows me to redirect to the right page post-auth.
I am having issues using different auth flows. For example:
- If I log in from the staging website, I would like the Supabase Auth to redirect to the staging website post auth.
- If I log in from the production domain, I would like the Supabase Auth to redirect to the production domain
- I set the site URL to the production domain and added Redirect URLs to the staging domain- I am using Weweb for the front end builder and there I have a condition to check the URL where the button is being clicked and have set the redirect URL based on the base URL calling the auth function
Any pointers on how I can implement conditional authentication flows?