chore: 尝试修复oauth

This commit is contained in:
14790897 2024-03-07 21:55:19 +08:00
parent dfca412ca6
commit 3fd86d788b

View File

@ -44,7 +44,7 @@ export function SignInWithProvider({ provider, redirectTo }) {
const { data, error } = await supabase.auth.signInWithOAuth({
provider: provider,
options: {
redirectTo: redirectTo,
// redirectTo: redirectTo,
queryParams: {
access_type: "offline",
prompt: "consent",