On Tue, Jun 30, 2020 at 12:47 AM Michael Van Canneyt
<mich...@freepascal.org> wrote:
> The problem with the service account is that you must create a JWT Token.
> FPC does not yet have a unit that can generate *and sign* a JWT Token.
>
> The good news is I have this weekend a reminder that I received some code
> that will allow me to complete the JWT Token support in FPC using at
> least the RSA256 signing algorithm (and some others as well).

Synopse mORMot has a JWT implementation that supports FPC:
http://blog.synopse.info/post/2016/12/19/JSON-Web-Tokens-(JWT)

The blog post refers to files SynCrypto.pas and SynEcc.pas
https://github.com/synopse/mORMot/

> Now all that is needed is to clone myself so I can actually do the work...
Thanks for any help you can provide. :-)
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to