supabase-csharp icon indicating copy to clipboard operation
supabase-csharp copied to clipboard

Gotrue-csharp SignOut() by scope

Open kienns1996 opened this issue 1 year ago • 1 comments

Feature request

Is your feature request related to a problem? Please describe.

Is it possible to add a scope option to be able to logout "local", "global" or "others" in Gotrue-csharp? SignOut() logs out all sessions by default.

kienns1996 avatar Mar 28 '24 18:03 kienns1996

The client is designed to only support one user per client instance, if you need to support multiple signed in users at a time, you'll need to initialize a separate client for the secondary user as well as a different GotrueSessionPersistence handler if you're attempting to persist each user.

As for restructuring the gotrue client to multiple logins within a single instance, that is not something that is planned!

acupofjose avatar Mar 29 '24 17:03 acupofjose

Available in >= [email protected]

acupofjose avatar Jul 27 '24 14:07 acupofjose