[fpc-devel] Google APIs - Authenticate using a service account?
Michael Van Canneyt
michael at freepascal.org
Tue Jun 30 10:35:47 CEST 2020
On Tue, 30 Jun 2020, Wayne Sherman via fpc-devel wrote:
> 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/
I know. But we can't include Synopse in FPC.
Michael.
More information about the fpc-devel
mailing list