pennersr / django-allauth

Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication.
https://allauth.org
MIT License
9.37k stars 3.01k forks source link

Headless Demo: Add ability to delete user #3874

Open semihsezer opened 3 months ago

semihsezer commented 3 months ago

Many thanks for creating the demo environment, this is super helpful for me to understand how Django AllAuth works.

In the headless Demo environment, could you add ability to delete your own user? I signed up with login password but now I can't test out Google login - I get a 401 error something went wrong and an email saying a user with this email already exists.

Workaround: Use another email, but this is a bit of a hassle if you want to test out multiple options or redo the login flow.

Thanks, Semih

Screenshot 2024-06-08 at 11 47 07 AM Screenshot 2024-06-08 at 11 45 48 AM
pennersr commented 2 months ago

It would be indeed handy to have a self destruct option in the example app, provided it is clear that this is just ad hoc functionality meant for testing purposes -- people should not expect this functionality to be an official polished GDPR-style remove your account function. Can you add it?