Login by JWT Token (Access Token, Refresh Token) in Dart / Flutter
I'm creating a system, where the user log in the phone and scan a qr code from the phone camera and transfer the auth login to the PC version.
My ideia is to do that by passing the JWT Token to the PC.
Now, the problem is, I didn't find any way to log in by JWT token, access token or refresh token.
Is there a code in dart to do that by the supabase lib?
I have tried 'supabase.auth.setSession(), supabase.auth.refreshToken()', any of these didn't work.
My ideia is to do that by passing the JWT Token to the PC.
Now, the problem is, I didn't find any way to log in by JWT token, access token or refresh token.
Is there a code in dart to do that by the supabase lib?
I have tried 'supabase.auth.setSession(), supabase.auth.refreshToken()', any of these didn't work.