Click here to Skip to main content
15,890,609 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have posted this query in most forums I know, but have not received an answer or even guidance as to whether this is possible. I have only used VBA before so am pretty lost. My apologies if this is basic (and a bit silly).

Is it possible to automate the login to Google?

I have an Access database that users want to upload documents to.
We have Google Drive on our domain, but not with synced folders.
My idea is to give the database a Google account and everything be uploaded to a folder on its drive.

I have a URL to log the user out of Google.
When uploading, the user will have a setup option
With setup, I want the Database account to login to Google
Then display the chrome extension store.
When user okays setup as complete, Chrome will close.

I have had a look at documentation and videos of OAuth2 with Google+ but when I tried a demo, was unsuccessful.

Any comments or advice most welcome.
Posted
Comments
Sampath Lokuge 28-Oct-13 14:16pm    
What did you mean by unsuccessful ?
KarstenK 29-Oct-13 10:16am    
I know only that OAuth somehow works. So try your look by doing every step as shown in the docs... ,-)

1 solution

It is kind hard to know solve the problem without it being specified. But I hardly believe it would be on google's end. Have you carefully read the api docs?https://developers.google.com/drive/quickstart-java#step_1_enable_the_drive_api[^]
https://developers.google.com/drive/about-auth[^]

If this is the first time your are doing it, I advise you going to this link for further learning:
http://www.codecademy.com/tracks/youtube?jump_to=50d4d97297692cde7e0009df[^]
It is not for google drive, but the principle is the same.

Have a second look at the example, maybe if you also tried other examples it would help.

Good Luck
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900