Google Colab · OAuth Scopes

Google Colab OAuth Scopes

OAuth 2.0 derived

Google Colab publishes 2 OAuth 2.0 scopes via the authorizationCode flow. Scopes are the fine-grained permissions an application requests at authorization time to act against the Google Colab API on a user’s behalf.

Tokens are issued from https://oauth2.googleapis.com/token.

This index is generated from the provider’s OpenAPI security definitions (and, where available, its documented scope reference) and refreshes on every APIs.io network build. Browse every provider’s scopes at scopes.apis.io.

CollaborationData ScienceGoogle CloudJupyterMachine LearningNotebooksPython
Scopes: 2 Flows: authorizationCode Method: derived

OAuth endpoints

Authorization URL
https://accounts.google.com/o/oauth2/auth
Token URL
https://oauth2.googleapis.com/token
Flows
authorizationCode

Scopes (2)

ScopeDescriptionFlows
https://www.googleapis.com/auth/drive Full Drive access authorizationCode
https://www.googleapis.com/auth/drive.file Per-file access authorizationCode

Source

OAuth Scopes

google-colab-scopes.yml Raw ↑
generated: '2026-07-11'
method: derived
source: openapi/colab-drive-openapi.yml
schemes:
- name: oauth2
  source: openapi/colab-drive-openapi.yml
  flows:
  - flow: authorizationCode
    authorizationUrl: https://accounts.google.com/o/oauth2/auth
    tokenUrl: https://oauth2.googleapis.com/token
scopes:
- scope: https://www.googleapis.com/auth/drive
  description: Full Drive access
  flows:
  - authorizationCode
  sources:
  - openapi/colab-drive-openapi.yml
- scope: https://www.googleapis.com/auth/drive.file
  description: Per-file access
  flows:
  - authorizationCode
  sources:
  - openapi/colab-drive-openapi.yml