© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•7mo ago•
30 replies
Vini

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.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

JWT Refresh Token Expiry Settings
SupabaseSSupabase / help-and-questions
7mo ago
How to refresh access token using refresh token in supabase c# api?
SupabaseSSupabase / help-and-questions
4mo ago
JWT refresh
SupabaseSSupabase / help-and-questions
8mo ago
supabase-flutter 1.0.1 refresh token gone
SupabaseSSupabase / help-and-questions
4y ago