ory / fosite

Extensible security first OAuth 2.0 and OpenID Connect SDK for Go.
https://www.ory.sh/?utm_source=github&utm_medium=banner&utm_campaign=fosite
Apache License 2.0
2.28k stars 356 forks source link

Make prefix used in HMACSHAStrategy configurable #789

Open mitar opened 5 months ago

mitar commented 5 months ago

Preflight checklist

Ory Network Project

No response

Describe your problem

I think this is primarily vanity, but HMACSHAStrategy used hard-coded ory_ prefix and I would prefer to have it be something branded for my own project.

Describe your ideal solution

I think just additional config option to configure the prefix would work well.

Workarounds or alternatives

Copying the HMACSHAStrategy and changing that small string. I think this is done in authelia.

Version

latest master

Additional Context

No response