refresh session error

I get this error (AuthException(message: refresh_token required, statusCode: 400)) when calling 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 event in the client?.auth.onAuthStateChange.listen( (data) {}) listener
Was this page helpful?