oauth2l
« Back to VersTracker
Description:
Simple CLI for interacting with Google oauth tokens
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: google oauth cli authentication dev-tools
Install: brew install oauth2l
About:
oauth2l is a lightweight command-line utility designed to simplify the acquisition and management of Google OAuth 2.0 access tokens. It abstracts the complexity of the authentication flow, allowing developers to quickly fetch tokens for various Google APIs without writing code. This tool is ideal for testing API endpoints or scripting tasks that require secure access to Google Cloud services.
Key Features:
  • Supports multiple OAuth 2.0 grant types including 'jwt' and 'refresh'
  • Fetches access tokens for standard Google API scopes
  • Simple, flag-based CLI for easy integration into scripts
  • Output formats suitable for automation (e.g., raw token)
Use Cases:
  • Quickly obtaining tokens to manually test Google Cloud API endpoints via curl
  • Generating tokens for use in CI/CD pipelines that deploy to Google Cloud
  • Scripting administrative tasks against Google Workspace APIs
Alternatives:
  • gcloud – gcloud is a full-featured SDK; oauth2l is a lightweight alternative focused solely on token fetching.
  • oauth2proxy – oauth2proxy is for protecting web apps; oauth2l is a developer CLI tool.
Version History
Detected Version Rev Change Commit
Sep 16, 2025 8:18am 0 VERSION_BUMP 21f8c660
Dec 10, 2024 6:43pm 0 VERSION_BUMP b960b13a
Dec 4, 2024 8:05pm 0 VERSION_BUMP 6fe4c8ee
Dec 4, 2024 3:17am 0 VERSION_BUMP ec7e3213
Dec 3, 2024 8:16pm 0 VERSION_BUMP 6d1176d6