15
SDK Support for Listing & Invalidating Auth Sessions
Source: supabase/supabase#34340 · opened by @nicokempe
Supabase's auth.sessions table contains valuable information about user sessions (such as IP, user agent, timestamps) that would be incredibly useful for developers building account security dashboards. However, due to internal restrictions on accessing the auth schema, developers are currently unable to: • Retrieve a list of their own active sessions from the frontend • Revoke a specific session (e.g. "Log out from Intel Mac OS X") • Build a UI similar to GitHub/Discord/Google's "Active sessions" views (Screenshot with the example of GitHub below)  Returns a list of active sessions for the currently logged-in user. Suggested structure (based on actual schema): 2\. supabase.auth.revokeSession(sessionId: string) Revokes a specific session owned by the current user. This would funct…
No pledges yet. Be the first to back this.
Comments
Similar requests
Enforce any number sessions per user
3 votes · 0 comments
[Auth] Display user valid sessions and allow to invalidate some or all of them
14 votes · 0 comments
Possibility to manage all active sessions
5 votes · 0 comments
Surface user impersonation in SDKs
3 votes · 0 comments
[Request Feature] I would like to have an option in the SDK to encrypt the query string and responsed data
2 votes · 0 comments
No comments yet.