Flutter: Auth Admin
- Any method under the
supabase.auth.admin
namespace requires a service_role
key.
- These methods are considered admin methods and should be called on a trusted server. Never expose your
service_role
key in the Flutter app.
Examples
Create server-side auth client
final supabase = SupabaseClient(supabaseUrl, serviceRoleKey);