Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API for deleting accounts without requiring cookies #8940

Open
Tracked by #8919
M123-dev opened this issue Sep 2, 2023 · 4 comments
Open
Tracked by #8919

API for deleting accounts without requiring cookies #8940

M123-dev opened this issue Sep 2, 2023 · 4 comments

Comments

@M123-dev
Copy link
Member

M123-dev commented Sep 2, 2023

Problem

We need to be able to delete an account from the mobile app to stay GDPR complient and make sure we wont get temporarely blocked by the App- and Play Store.

AFAIK, it's possible from the website already, but technically not from the mobile app.

Additional context

Code pointers

Part of

@M123-dev M123-dev added the ✨ Feature Features or enhancements to Open Food Facts server label Sep 2, 2023
@hangy
Copy link
Member

hangy commented Sep 2, 2023

Account deletion via API should still require some sort of confirmation, though? Preferably email or secure 2FA to avoid abuse

@monsieurtanuki
Copy link
Contributor

@hangy What I had in mind was

  • calling a URL from Smoothie, like https://world.openfoodfacts.org/api/delete_user?user=myuser_or-my_email&password=mypassword&lc=en
  • that would send an email to the user like "You've just asked for your 'myuser' account deletion. Please click on the link to confirm. Please ignore this email if you did not ask for your account deletion and consider changing your password"
  • and that will reply with a JSON stating things like "deletion email sent" or "incorrect user or password" (as hard coded tags and as localized strings)

Does that make sense?

@teolemon
Copy link
Member

teolemon commented Sep 5, 2023

@M123-dev to get the previews, you need to put an hyphen at the beginning of the line (-)

@hangy
Copy link
Member

hangy commented Sep 16, 2023

Could be a dupe of #8655

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To discuss and validate
Development

No branches or pull requests

4 participants