Closed
Description
The result is that when a new sign in is attempted when signed_out signal is emitted, the Supabase.sign_in method fails to sign in a new user without reporting an error.
assert(Supabase.auth.connect("signed_in", self, "_on_signed_in") == 0)
assert(Supabase.auth.connect("signed_out", self, "_on_signed_out") == 0)
_sign_in("[email protected]", "example_pswd")
func _sign_in(user, password):
Supabase.auth.sign_in(user, password)
func _on_signed_in(client):
Supabase.auth.sign_out()
func _on_signed_out():
_sign_in("[email protected]", "example_pswd)
My first thought on this is simply moving the emit(signed_out) to line 317, but it could be I'm missing
on something from the bigger picture here.
Metadata
Metadata
Assignees
Labels
No labels