[fpc-devel] Google APIs - Authenticate using a service account?

Wayne Sherman wsherman at gmail.com
Tue Jun 30 10:07:33 CEST 2020


On Tue, Jun 30, 2020 at 12:47 AM Michael Van Canneyt
<michael at 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. :-)


More information about the fpc-devel mailing list