Integration Summary
The Google Drive integration consists on the availability to access google drive documents through an OutSystems web application.
This integration allows you to:
- Get a person's google drive documents or documents that has been shared with him;
- Navigate through folders, see it content and do actions over files (move to trash, untrash, delete, download or open);
- Upload new files;
- Create new folders;
This component uses Google Oauth component to get a valid token and call google drive services successfully.
Integration Flow
1. Google Developers console.
2. Google Oauth Login with a block to sign into Google.
3. Google Components connectors (Google sheets connectors, Google drive connector, ...).
4. Front End of your application.
A. This integration allows you to:
B. Include the Sign in block in your front end. This serves to register/login with your google account and store the necessary access tokens. Also include the action to logout from Goolgle provided in the Google Oauth Login Module.
C. The Google components fetch the Oauth token from the google oauth component.
D. On your front-end , use the Google Components actions, wrapping them and handling the exceptions.
How to
Click on "Sign In with Google Drive" button and login with your google account. After being authenticated, you will be send to Starting screen, where you are able to see your google drive files.