Supabase Auth
Component Detail
Infrastructure
low complexity
backend
0
Dependencies
0
Dependents
2
Entities
0
Integrations
Description
The Supabase platform's built-in authentication service providing email/password identity management, secure JWT session tokens, email OTP/magic-link dispatch for password reset, and deep-link redirect configuration. Configured with the email provider enabled, secure token storage via Flutter Secure Storage, and deep-link URI scheme registered in the app. Serves as the authoritative identity provider for this feature.
supabase-auth
Responsibilities
- Authenticate email/password credentials and issue JWT session tokens
- Send password reset emails with tokenized deep-link redirects
- Validate OTP tokens and exchange for authenticated sessions
- Manage token refresh and session expiry
- Provide auth state change notifications via real-time stream
Interfaces
supabase.auth.signInWithPassword(email, password)
supabase.auth.resetPasswordForEmail(email, redirectTo)
supabase.auth.verifyOTP(token, type)
supabase.auth.updateUser(password)
supabase.auth.signOut()
supabase.auth.currentSession
supabase.auth.onAuthStateChange()
Related Data Entities (2)
Data entities managed by this component