mirror of https://github.com/kortix-ai/suna.git
Merge pull request #1052 from kubet/fix/refresh-token-timing
Fix/refresh token timing
This commit is contained in:
commit
6a201da1b4
|
@ -14,5 +14,11 @@ export const createClient = () => {
|
|||
// console.log('Supabase URL:', supabaseUrl);
|
||||
// console.log('Supabase Anon Key:', supabaseAnonKey);
|
||||
|
||||
return createBrowserClient(supabaseUrl, supabaseAnonKey);
|
||||
return createBrowserClient(supabaseUrl, supabaseAnonKey, {
|
||||
auth: {
|
||||
autoRefreshToken: true,
|
||||
persistSession: true,
|
||||
detectSessionInUrl: true
|
||||
}
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue