You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 23, 2026. It is now read-only.
Current session lost when auth function call fails #904
Currently, the client logic calls _removeSession to clear the session when doing an auth call. If the call fails, the existing session is never restored and is lost, effectively disconnecting the user session.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Create a supabase client and log in
Call an auth function with invalid parameters
Get the client session
Expected behavior
The existing client session is kept in the event of a fail.
Activity
fix: don't call removeSession prematurely (#915)
bombillazo commentedon Jun 18, 2024
This was closed with #915