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
The signOut function never calls this.api.signOut because it's first removing the current session with this._removeSession(), then later checks for this.currentSession before calling this.api.signOut, so this.api.signOut never gets called.
Essentially, no logout is ever taking place. The code is only removing the current session.
The result of this is that if you look in the log table you only see login events, even if you log in, log out, log in, log out, etc.
The text was updated successfully, but these errors were encountered:
burggraf
changed the title
signOut function is not completing and thus not creating logout events in log table
Bug: signOut function is not completing and thus not creating logout events in log table
Apr 9, 2021
https://github.com/supabase/gotrue-js/blob/4daa22cf30a2fe25bd1df9d9df0061c17d81a691/src/GoTrueClient.ts#L314
The signOut function never calls
this.api.signOut
because it's first removing the current session withthis._removeSession()
, then later checks forthis.currentSession
before callingthis.api.signOut
, sothis.api.signOut
never gets called.Essentially, no logout is ever taking place. The code is only removing the current session.
The result of this is that if you look in the log table you only see login events, even if you log in, log out, log in, log out, etc.
The text was updated successfully, but these errors were encountered: