Test login to google account using CEF + OAuth2

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

Test login to google account using CEF + OAuth2

Postby kubushkaitesanton » Mon Nov 23, 2020 9:07 am

Hi All,

I have tried to test my CEF app for compatibility with OAuth2 which will be applied by google in January according to "Test for compatibility" section from here https://developers.googleblog.com/2020/ ... -apps.html.
When I navigated to https://accounts.google.com/ I simply added Google-Accounts-Check-OAuth-Login:true header to CefRequest in CefResourceRequestHandler.OnBeforeResourceLoad but nothing has changed, I still could login successfully to my google account. After that I connected to DevTools via Remote debugging port to check via Network tab whether the Google-Accounts-Check-OAuth-Login:tru header is added to http requests. The result was that Google-Accounts-Check-OAuth-Login:true header has been added successfully to http requests.
So how should I simulate the case that my CEF app is considered to be insecure, when logging in to https://accounts.google.com/, because my CEF app is not using OAuth2?

Thank you in advance
kubushkaitesanton
Newbie
 
Posts: 2
Joined: Mon Nov 23, 2020 7:46 am

Re: Test login to google account using CEF + OAuth2

Postby ndesktop » Mon Nov 23, 2020 11:34 am

They will block starting with January 4, 2021. At least that is what they say in the above link.
ndesktop
Master
 
Posts: 557
Joined: Thu Dec 03, 2015 10:10 am

Re: Test login to google account using CEF + OAuth2

Postby kubushkaitesanton » Tue Nov 24, 2020 4:13 am

Thank You for the response
So I do not have a chance to test whether my OAuth2 solution works to avoid blocking? It's a kind of pig in a poke if I'm not able to test my results before this blocking gets actual
kubushkaitesanton
Newbie
 
Posts: 2
Joined: Mon Nov 23, 2020 7:46 am


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 4 guests