secure app

Post Reply
Djota
Posts: 10
Joined: Fri May 05, 2017 12:35 pm

secure app

Post by Djota » Thu Jun 25, 2020 6:04 pm

Hi,

How do I add my app with CEF to the secure apps on my google account?


I try to login to google but he says that the app may not be safe.

User avatar
salvadordf
Posts: 2412
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: secure app

Post by salvadordf » Thu Jun 25, 2020 8:21 pm

Hi,

Please, read this :
https://www.briskbard.com/forum/viewtopic.php?f=8&t=1078
https://magpcss.org/ceforum/viewtopic.php?f=10&t=16764
https://magpcss.org/ceforum/viewtopic.php?f=10&t=16717

As far as I know Google is ignoring all developers and we can't sign-in to Google anymore. :cry:

w1ld32
Posts: 11
Joined: Wed Feb 12, 2020 10:28 am

Re: secure app

Post by w1ld32 » Mon Jun 29, 2020 6:38 am

Hello, it may be useful, I use the user-agent to log in to google\youtube accounts.

Code: Select all

procedure TChildForm.Chromium1BeforeResourceLoad(Sender: TObject;
  const browser: ICefBrowser; const frame: ICefFrame;
  const request: ICefRequest; const callback: ICefRequestCallback;
  out Result: TCefReturnValue);
  Var
  	map: ICefStringMultimap;
  begin
  	map := TCefStringMultimapOwn.Create;
        request.GetHeaderMap(map);
        map.Append('User-Agent','Mozilla/5.0 (Windows NT 10.0; rv:60.0) Gecko/20100101 Firefox/60.0');
        request.SetHeaderMap(map);
  end;
  

Post Reply