fix: sign-in by refresh token

This commit is contained in:
AykutSarac 2024-05-25 19:54:29 +03:00
parent 58dc6adc5a
commit e103240f12
No known key found for this signature in database

View File

@ -153,7 +153,7 @@ const SignIn = () => {
if (!isReady) return;
if (query?.access_token && query?.refresh_token) {
if (query?.refresh_token) {
(async () => {
const refresh_token = query.refresh_token as string;
const { data, error } = await supabase.auth.refreshSession({ refresh_token });