-
Notifications
You must be signed in to change notification settings - Fork 808
Description
Hi,
Today Applications client secret saved in db as plain text.
To improve confidentiality and security its possible to use django.auth.contrib.hashers to hash and salt applications client secret.
The security advantages are obvious - even DB read access or DB dump file wont let intruders to use our client secrets to gain access tokens to the eco system resources.
The downside is that the service clients will have to save and manage their secrets separately from the Django admin / applications back office page - over there secrets will be shown hashed and salted.
Backwards compatibility: Running with old style - plain client secrets will be possible due to new migration that will hash and salt existing secrets.
I have already forked the repo to implement it, do you have interest in that feature anyway?
Thanks,
Alon Fast