FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Google Calendar oauth2 login
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Google Calendar oauth2 login
Posted: Mon Jan 11, 2021 10:11 AM
God morning ,
lately i have problems with the google calendar login , I have this error

https://drive.google.com/file/d/1ukEbp4 ... sp=sharing

the code I use is

Code (fw): Select all Collapse
 DEFINE WINDOW ::oWindow TITLE "Google Users" FROM 10, 1 TO 40,60
      oActiveX          := TActiveX():New( ::oWindow, "Shell.Explorer" )
      ::oWindow:oClient := oActiveX
      oActiveX:do( "Navigate2", cAuthorizationRequest )
     
   ACTIVATE WINDOW ::oWindow CENTER VALID( ::lWindowFinalized := .T., .T. )


I think the problem is pointed out in this article
https://developer.chrome.com/docs/apps/contentSecurityPolicy/


It is possible to use tActiveX without a Windows window ?

Maurizio
http://www.nipeservice.com

Continue the discussion