Is it possible to encrypt the username and email for Allauth to be PII compliant? If so, how would you do that? If this is possible, how would a site admin go about decrypting the username and email in case they needed to contact the user?
Not sure if Allauth specifically needs to be encrypted or the user model itself. I am not currently using a custom user model. All I have are the default tables that come with allauth / user model: Email Addresses, Groups, and Users.
Project Github: https://github.com/pennersr/django-allauth
To do this would you need to override allauth and use some sort of encryption package like https://github.com/georgemarshall/django-cryptography ? Or is there a better way?