© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
17 replies
stefikira

refresh session error

I get this error (
AuthException(message: refresh_token required, statusCode: 400)
AuthException(message: refresh_token required, statusCode: 400)
) when calling
Future<AuthResponse> refreshSession()
Future<AuthResponse> refreshSession()
from supabase flutter.

Also, other issues related to the session:
1. I removed the user from DB but still get the session and current user. Shouldn't session and user be null in this case?
2. Why does clicking on a verify email link creates a new session and a
Auth.signedIn
Auth.signedIn
event in the
client?.auth.onAuthStateChange.listen(
      (data) {})
client?.auth.onAuthStateChange.listen(
      (data) {})
listener
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

How to refresh the session with no access to `refresh_token`?
SupabaseSSupabase / help-and-questions
3y ago
How to refresh session for Google oAuth?
SupabaseSSupabase / help-and-questions
3y ago
How to refresh a session in v2
SupabaseSSupabase / help-and-questions
4y ago
ERROR [AuthApiError: missing destination name refresh_token_hmac_key in *models.Session]
SupabaseSSupabase / help-and-questions
2mo ago