Enable session persistence and auto token refresh
cgen-67384ee3ad404093aa338a4d5645bb96
This commit is contained in:
parent
14a027fbb1
commit
73cf34daea
1 changed files with 2 additions and 2 deletions
|
|
@ -14,8 +14,8 @@ if (!isSupabaseConfigured) {
|
|||
|
||||
export const supabase = createClient<Database>(supabaseUrl!, supabaseAnonKey!, {
|
||||
auth: {
|
||||
autoRefreshToken: false,
|
||||
persistSession: false,
|
||||
autoRefreshToken: true,
|
||||
persistSession: true,
|
||||
detectSessionInUrl: true,
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue