Skip to content

Commit

Permalink
Chore: Fix Google drive docs (#3123)
Browse files Browse the repository at this point in the history
We advertised the wrong scope before.
`https://www.googleapis.com/auth/drive.file` only lets you access files
& folders the user selected, but that's precisely why we have the picker

https://developers.google.com/drive/api/guides/api-specific-auth
  • Loading branch information
rguldener authored Dec 5, 2024
1 parent f625c61 commit 9a352ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs-v2/integrations/all/google-drive.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Nango's pre-built Google drive integration only syncs whitelisted files & folder

<Steps>
<Step title="Auth & Show Google Drive Picker">
Scope to set in Nango: `https://www.googleapis.com/auth/drive.readonly`
Scope to set in Nango: `https://www.googleapis.com/auth/drive.file`

In your frontend, run the OAuth flow with `nango.auth` and show the Google drive picker to your user.

Expand Down

0 comments on commit 9a352ed

Please sign in to comment.