After Matt's recent Google oAuth videos here, I decided to give it another go on Google Web Services to use Google Drive and Calendar in FM natively. I have developed on solutions that integrate with Google using either Zulu by 360works or intermediate PHP, but my goal here is to enable this in FM natively, as done for any other web service since cURL was introduced in FM16. However, Google authentication and documentation is not as helpful as others.
After Matt's precious help, I have successfully integrated with those services, however I'd like to omit Google's Authentication prompt, so I am looking for a way to get a token using a private key or something. I believe it can be done using JSON Web Token (JWT) and a service account key, as explained here in the documentation.
My problem is I cannot build the right base64 encoded call to get the access token back.
Thanks for your input !