[fpc-devel] Google APIs - Authenticate using a service account?
Michael Van Canneyt
michael at freepascal.org
Mon Mar 14 11:45:02 CET 2022
On Sun, 13 Mar 2022, 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.
> I had a little time this weekend and started looking into this again.
> I was happy to discover these recent developments:
> *Some new hash and elliptic curve crypto files*
> *Commit which adds support for Java Web Token (JWT) signing*
> (fpjwt.pp has new TJWTKey record, TJWTSigner class, and new
> methods TJWT.Sign and TJWT.ValidateJWT)
> *Commit which adds ES256 JWT signing*
> (ES256 signing can be used for Google API service accounts)
Yes. I would still like to see if we can integrate the OAuth of the google API and
the JWT signing more closely, possibly through some extra classes.
> Thank you Michael Van Canneyt. :-)
You're welcome. We're slowly improving things.
There is more to come, but I am doing a round-robin on the many areas I am active
in, so it may be some weeks before I come back to this... :-)
More information about the fpc-devel