Supabase Integration
Use Fluo with Supabase Auth and the users table.
Overview
Select Supabase in the Fluo dashboard. During user onboarding, Fluo sends user info to:
- Supabase Authentication
- A
users
table you create in Supabase (simple copy-paste)
Initialize the Supabase session
Use supabaseSession
to recover the session on the client.
if (Fluo.isInitialized) {
final fluoSession = Fluo.instance.session;
if (fluoSession != null) {
final supabaseSession = fluoSession.supabaseSession!;
await Supabase.instance.client.auth.recoverSession(supabaseSession);
}
}