Welcome Guest Search | Active Topics | Sign In | Register

What is the best way to login into various google apps using EO.WebBrowser Options
Derrick W. Jackson
Posted: Thursday, January 12, 2023 11:48:27 PM
Rank: Member
Groups: Member

Joined: 5/15/2022
Posts: 10
What is the best way to log in to Google Drive using the EO.WebBrowser. Do you need to usegoogle oauth 2.0.
If so, how? Any info would be greatly appreciated.
eo_support
Posted: Friday, January 13, 2023 10:13:49 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
There are no reliable way for you to log into various Google sites (such as GMail, Google Drive, etc) through non-branded browser because Google actively blocks it. You can use OAuth to access Google service but that is mostly designed for desktop application that access Google Service with their own UI, not for loading Google's web pages directly. For example, if you were to write an Email client application based on Windows.Forms, then you could use OAuth to call Google's Authoriziation Server to get an access token and then use that token to call Gmail APIs (such as list all mails, read a message, etc). The key of this approach is:

1. The login process MUST be done through a branded browser. This would involves your application launching a sign Url with the system browser. After this step your application would get an access token;
2. The access token is used to access Google service APIs, NOT Google's web pages. The web pages are not intended to be loaded into any non-branded browsers;

In short, the login page MUST use Google's UI. Whereas the actual content MUST use your own UI.
Derrick W. Jackson
Posted: Saturday, January 14, 2023 1:23:38 PM
Rank: Member
Groups: Member

Joined: 5/15/2022
Posts: 10
THANKS for your response. This was very helpful.
jessica09
Posted: Tuesday, July 18, 2023 7:59:12 AM
Rank: Newbie
Groups: Member

Joined: 7/18/2023
Posts: 1
Why does Google actively block login attempts from non-branded browsers? www myfedloan idrapp
eo_support
Posted: Tuesday, July 18, 2023 10:51:05 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
jessica09 wrote:
Why does Google actively block login attempts from non-branded browsers?


Hi,

Google's official explaination for this is for security reasons. See here for more details:

https://support.google.com/accounts/answer/7675428?hl=en&sjid=6289722868241947509-NA

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.