patrik
09/21/2021, 2:14 PMSite URL
and Additional Redirect URLs
so it works both on localhost and live. Anybody knows how to do that?
const { user, session, error } = await supabase.auth.signIn({
provider: 'github'
}, {
redirectTo: 'https://example.com/welcome'
})
silentworks
09/21/2021, 3:59 PMpatrik
09/21/2021, 7:18 PMSite URL
I have our main domain, say https://www.example.com
and in the Additional Redirect URLs
I entered https://www.example.com/account,http://localhost:3000/account
because after login I wanna go to /account
. I set the redirectTo value with env variables. But this does not work in my case, it gets always to the Site URL
value, the main url. What am I missing?patrik
09/21/2021, 7:38 PM