Supabase ยท GDPR ยท App-Store ready
The in-app account deletion Apple and Google now require, plus the GDPR data export, as two drop-in Supabase Edge Functions.
โ Real production code ย ยทย โ Drop-in ย ยทย โ Setup guide included ย ยทย โ Single-project commercial use ย ยทย โ 30-day money-back guarantee
Compliance is a requirement, not a feature, and it is easy to orphan storage files or hit a foreign-key error. This gets the deletion order and the safeguards right.
Storage wiped first (cascade never touches Storage), then the auth user, which cascades every owned row.
Returns the user's full data across your tables as a single JSON download.
Always acts on the caller's own id, so a client can never delete or export another account.
Satisfies Apple App Review 5.1.1(v) and Google Play's account-deletion policy.
deleteAccount and downloadMyData, plus the foreign-key cascade setup.
Service-role only, JWT-scoped identity, and the cascade rules spelled out.
The exact, working implementation, generalised so you drop it into your own project and move on.
Get the kit โ โฌ19Instant download ยท single-project commercial use ย ยทย โ 30-day money-back guarantee
Want all three Supabase kits? Get the bundle for โฌ39 โ a third off.