ory/fosite

Allow users to config AuthCodeEntropy

Closed this issue · 4 comments

Is your feature request related to a problem? Please describe.

  • I understand 32 bytes entropy may be secure enough, but in some cases I may still want to change the entropy (32 bytes -> 64 or 128 bytes) of Token generated using HMAC strategy, which is currently not possible.

Describe the solution you'd like

Describe alternatives you've considered

  • None.

Additional context

  • Maybe also should give this value a upper limit, like 256 (int).
  • If this sounds OK, I'll create a pull request. Thanks for reviewing.

Yup sounds good

Thank you! I will implement this.

PR created.
#342

Implemented so I'm gonna close this issue.
Thanks!