Skip to content

Applications plain client_secret #276

@AlonFasta

Description

@AlonFasta

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions