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

2022-03-16 Thread Michael Van Canneyt via fpc-devel
On Mon, 14 Mar 2022, Wayne Sherman via fpc-devel wrote: On Mon, May 10, 2021 at 7:08 PM Wayne Sherman wrote: The Google API supports the following signing algorithms: https://cloud.google.com/iot/docs/how-tos/credentials/jwts JWT RS256 (RSASSA-PKCS1-v1_5 using SHA-256 RFC 7518 sec 3.3).

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

2022-03-14 Thread Wayne Sherman via fpc-devel
On Mon, May 10, 2021 at 7:08 PM Wayne Sherman wrote: > The Google API supports the following signing algorithms: > https://cloud.google.com/iot/docs/how-tos/credentials/jwts > >JWT RS256 (RSASSA-PKCS1-v1_5 using SHA-256 RFC 7518 sec 3.3). This > is expressed as RS256 in the alg field in the JWT

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

2022-03-14 Thread Wayne Sherman via fpc-devel
On Mon, Mar 14, 2022 at 3:45 AM Michael Van Canneyt wrote: > 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. The paint is still wet on the JWT signing code, so I figured there was some more

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

2022-03-14 Thread Michael Van Canneyt via fpc-devel
On Sun, 13 Mar 2022, Wayne Sherman via fpc-devel wrote: On Tue, Jun 30, 2020 at 12:47 AM Michael Van Canneyt 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 we

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

2022-03-13 Thread Wayne Sherman via fpc-devel
On Tue, Jun 30, 2020 at 12:47 AM Michael Van Canneyt 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 d

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

2021-05-10 Thread Wayne Sherman via fpc-devel
On Tue, Jun 30, 2020 at 12:47 AM Michael Van Canneyt 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 wi

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

2020-07-11 Thread Luca Olivetti
El 10/7/20 a les 21:23, Florian Klämpfl ha escrit: And run-time is shifting to web: Most desktop applications I know are being moved (or have moved) to the web. I believe that soon, the only native apps left will be services and apps that need hardware access (automation etc.) Well, using Z

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

2020-07-10 Thread Michael Van Canneyt
On Fri, 10 Jul 2020, gabor via fpc-devel wrote: W dniu 2020-07-10 o 22:31, Florian Klämpfl pisze: It starts with simply things: how to use multiple screens with the web based solutions: how to undock chat window, screen cast, participants or videos and arrange them to different screens? Ye

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

2020-07-10 Thread gabor via fpc-devel
W dniu 2020-07-10 o 22:31, Florian Klämpfl pisze: It starts with simply things: how to use multiple screens with the web based solutions: how to undock chat window, screen cast, participants or videos and arrange them to different screens? Yes, webapps. Readability and usability less important

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

2020-07-10 Thread Florian Klämpfl
Am 10.07.20 um 21:45 schrieb Michael Van Canneyt: On Fri, 10 Jul 2020, Florian Klämpfl wrote:  And run-time is shifting to web: Most desktop applications I know are being moved (or have moved) to the web. I believe that soon, the only native apps left will be services and apps that ne

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

2020-07-10 Thread Michael Van Canneyt
On Fri, 10 Jul 2020, Florian Klämpfl wrote:  And run-time is shifting to web: Most desktop applications I know are being moved (or have moved) to the web. I believe that soon, the only native apps left will be services and apps that need hardware access (automation etc.) Well, using Zoom

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

2020-07-10 Thread Florian Klämpfl
> > And run-time is shifting to web: > Most desktop applications I know are being moved (or have moved) to the web. > > I believe that soon, the only native apps left will be services and apps that > need hardware access (automation etc.) Well, using Zoom a lot the last months, it taught me tha

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

2020-07-10 Thread Florian Klämpfl
 > > And run-time is shifting to web: > Most desktop applications I know are being moved (or have moved) to the web. > > I believe that soon, the only native apps left will be services and apps that > need hardware access (automation etc.) Well, using Zoom a lot the last months, it taught me th

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

2020-07-10 Thread Michael Van Canneyt
On Fri, 10 Jul 2020, Joost van der Sluis wrote: Op 10-07-2020 om 11:02 schreef Michael Van Canneyt: There is:  fppkg install cnocOIDC And you will have JWT support. Have a look at the TcnocOIDCIDTokenClaim and TcnocRSAPublicKey/TcnocRSAPrivateKey classes. Joost, I am aware of that, but

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

2020-07-10 Thread Joost van der Sluis
Op 10-07-2020 om 11:02 schreef Michael Van Canneyt: There is:  fppkg install cnocOIDC And you will have JWT support. Have a look at the TcnocOIDCIDTokenClaim and TcnocRSAPublicKey/TcnocRSAPrivateKey classes. Joost, I am aware of that, but this kind of basic functionality *really* should b

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

2020-07-10 Thread Michael Van Canneyt
On Fri, 10 Jul 2020, Joost van der Sluis wrote: Op 30-06-2020 om 09:47 schreef Michael Van Canneyt: On Fri, 26 Jun 2020, Wayne Sherman via fpc-devel wrote: Is there support in the fpc google api units for authenticating as a service account? Background: Service accounts allow an applicati

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

2020-07-10 Thread Joost van der Sluis
Op 30-06-2020 om 09:47 schreef Michael Van Canneyt: On Fri, 26 Jun 2020, Wayne Sherman via fpc-devel wrote: Is there support in the fpc google api units for authenticating as a service account? Background: Service accounts allow an application to interact with Google APIs without authenticati

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

2020-06-30 Thread Michael Van Canneyt
On Tue, 30 Jun 2020, Wayne Sherman via fpc-devel wrote: On Tue, Jun 30, 2020 at 1:36 AM Michael Van Canneyt wrote: I know. But we can't include Synopse in FPC. Can just the JWT/crypto portions be incorporated if it makes sense? I'd rather not: morMot is tightly integrated, and I would

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

2020-06-30 Thread Wayne Sherman via fpc-devel
On Tue, Jun 30, 2020 at 1:36 AM Michael Van Canneyt wrote: > > I know. But we can't include Synopse in FPC. Can just the JWT/crypto portions be incorporated if it makes sense? It is released under these Open Source licenses: Mozilla Public License, version 1.1 or later (MPL); GNU General P

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

2020-06-30 Thread Michael Van Canneyt
On Tue, 30 Jun 2020, Wayne Sherman via fpc-devel wrote: On Tue, Jun 30, 2020 at 12:47 AM Michael Van Canneyt 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 w

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

2020-06-30 Thread Wayne Sherman via fpc-devel
On Tue, Jun 30, 2020 at 12:47 AM Michael Van Canneyt 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

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

2020-06-30 Thread Michael Van Canneyt
On Fri, 26 Jun 2020, Wayne Sherman via fpc-devel wrote: Is there support in the fpc google api units for authenticating as a service account? Background: Service accounts allow an application to interact with Google APIs without authenticating as a specific user. Instead a service account is

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

2020-06-26 Thread Wayne Sherman via fpc-devel
On Fri, Jun 26, 2020 at 6:27 PM Wayne Sherman wrote: > > Is there support in the fpc google api units for authenticating as a > service account? Also for reference, here is a sample G Suite Service OAuth2 json file (with made up keys and IDs). After configuring a service account, this file can b

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

2020-06-26 Thread Wayne Sherman via fpc-devel
Is there support in the fpc google api units for authenticating as a service account? Background: Service accounts allow an application to interact with Google APIs without authenticating as a specific user. Instead a service account is created with it's own credentials, ID, and key. By authenti