You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/home/faq.mdx
+43Lines changed: 43 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,6 +103,49 @@ if (auth_response.status !== "completed") {
103
103
</Tabs.Tab>
104
104
</Tabs>
105
105
106
+
### Can I use broader OAuth scopes than what a tool requires?
107
+
108
+
Yes! If you need broader permissions than what a tool defines as its minimum requirement, you can request additional scopes during authentication.
109
+
110
+
For example, the `GoogleDrive.SearchFiles` tool requires the `/auth/drive.file` scope (which only searches files created by your app or selected via file picker), but if you have approval for the broader `/auth/drive` scope, you can authenticate with both scopes to search all files on Google Drive.
111
+
112
+
The tool will work with the broader permissions while still satisfying its minimum scope requirement. Here's how to authenticate with multiple scopes:
After authentication, call `GoogleDrive.SearchFiles` as usual and it will be able to search all files using the broader token permissions.
147
+
148
+
106
149
## Your question is not here?
107
150
108
151
Please go to the discussions page on GitHub. Someone else may have asked something similar already. If not, please start a new discussion and we'll get to it as soon as possible.
0 commit comments