Set up Google Drive
alphaSetup guide coming soon. Google Drive has no step-by-step guide in the catalogue yet. Until it does, here is what a connection needs, and where to read more.
What a connection holds
| Field | Secret | Where it comes from |
|---|---|---|
OAuth client IDclientId | Not secret | From Google Cloud Console. One value for the whole installation. |
OAuth client secretclientSecret | Secret | The client secret for the same OAuth app. |
Access tokenaccessToken | Secret | Per connected Google account; expires after one hour. |
Refresh tokenrefreshToken | Secret | Per connected Google account; the host uses it to refresh the access token. |
Links
Google Drive API docs
Consent is requested at https://accounts.google.com/o/oauth2/v2/auth
React (editor surface, every host)
@particle-academy/google-drive-ui v0.6.1
