Commit 0b9c6df
committed
Enable Doorkeeper token/application secret hashing
- Enable `hash_application_secrets` and `hash_token_secrets` in Doorkeeper initializer for improved security.
- This stores application secrets and access tokens as hashes in the database, reducing risk if the database is compromised.
- Note: `hash_token_secrets` is incompatible with `reuse_access_token`, so token reuse is now disabled/removed (see warning in Doorkeeper docs).
- For more details, see: https://doorkeeper.gitbook.io/guides/security/token-and-application-secrets1 parent 6e7c21c commit 0b9c6df
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
47 | 49 | | |
0 commit comments