When a user deletes their account, it’s important to remove all related assets from Supabase Storage to ensure privacy and data integrity. This guide walks through implementing account deletion in FlutterFlow using Supabase Authentication and Storage.
Key Steps:
Set up Supabase – Create a project, enable authentication, and configure API keys.
Enable Supabase in FlutterFlow – Connect Supabase authentication and storage.
Implement Key Features:
Upload files to Supabase Storage under a user-specific folder.
Delete Account – Use two custom actions:
deleteAssetsFromStorage
– Removes all user files.deleteUserAccount
– Deletes the user from authentication.
By integrating these actions, apps can securely manage user data deletion while maintaining compliance with privacy standards.
For more details, check the full article here:
https://www.flutterflowdevs.com/blog/when-user-delete-his-account-then-delete-all-his-assets-which-he-has-uploaded-in-supabase