danieleteti / delphimvcframework

DMVCFramework (for short) is a popular and powerful framework for WEB API in Delphi. Supports RESTful and JSON-RPC WEB APIs development.
Apache License 2.0
1.21k stars 346 forks source link

JWT Add Algorithms: RS256, RS384 & RS512 #737

Open Saxos-Simone opened 3 months ago

Saxos-Simone commented 3 months ago

It would be interesting to add support for the RS256, RS384 and RS512 algorithms in JWT.

zaniniflz commented 3 months ago

Hello @danieleteti ,

There is a very good library I used some time ago in another project that implements JWT. https://github.com/paolo-rossi/delphi-jose-jwt

I forked this repository to implement the JWE to meet my needs. If you find it interesting, take a look at the latest commits in this branch: https://github.com/zaniniflz/delphi-jose-jwt/commits/jwe

Saxos-Simone commented 3 months ago

I confirm that I have used the project and it behaves correctly in the use of the RS256, RS384 and RS512 algorithms.