Help with auth - 'Request failed' Error on auth.signIn() from VSCode

Hi Guys, I am trying setting the user using the refresh_token obtained by callback to my VSCode extension on the url fragment:

This is my code:
// credentials object is an object containing the access_token, refresh_token created from the URL Fragment

// trying do a signIn
const data = await supabaseClient.auth.signIn({
            refreshToken: credentials.refresh_token,
})

I am doing it according to this example on React Native but in VSCode: https://supabase.com/docs/reference/javascript/auth-signin#sign-in-using-a-refresh-token-eg-in-react-native

But, I did receive the Request Failed message on the
data
object:
{
    "user": null,
    "session": null,
    "error": {
        "message": "Request Failed"
    }
}


BTW I am using the supabase-js client V1.
Log in an existing user, or login via a third-party provider.
Was this page helpful?