oidc icon indicating copy to clipboard operation
oidc copied to clipboard

Add HS256 support

Open abogdanov37 opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. As a legasy service I can use onli tokens which signature based on H256 But now when I try to emit token I get an error From code https://github.com/zitadel/oidc/blob/9e624986aaf6eb8854ffc4702d7d1cc755919ff5/pkg/crypto/hash.go#L16-L27

Describe the solution you'd like I want that library support this algorithm

Describe alternatives you've considered Does not see alternatives

Additional context I try to create my own OP

abogdanov37 avatar Jun 19 '23 12:06 abogdanov37

Thank you for sharing your idea. If there is a significant demand from customers, we will carefully consider implementing the feature. Currently, the issue will be added to our product backlog. Meanwhile, if you're interested in implementing it yourself, we also welcome pull requests.

hifabienne avatar Jun 20 '23 08:06 hifabienne