Skip to content

Why are secrets in plain text? #729

@esseti

Description

@esseti

Hello all,
I was digging in the data and I found out that all the secrets are stored in plain text in the DB.

Why so?

reading this #276 it seems that the client_secret is used to generate/calculate some value, which one precisely? so for that, there's no way to hash it.

However, what about access_token and refresh tokens? why are not they hashed? in the end, they should be, somehow, as a password, so the real value is not needed (although you will have access to the real value each request if needed).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions