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: Newbie
Groups: Member

Joined: 5/15/2022
Posts: 5
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: 23,576
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: Newbie
Groups: Member

Joined: 5/15/2022
Posts: 5
THANKS for your response. This was very helpful.


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.