OAuth Token Generator

Generate OAuth bearer tokens using client credentials flow directly from VS Code. Supports Auth0, Okta, Azure AD, and any custom OAuth provider.

109 installs Free v2.10.0 MIT License
Install from Marketplace

Token generation made simple

Secure Credential Storage

Uses VS Code's built-in secure storage for OAuth credentials.

Multi-Provider Support

Configure Auth0, Okta, Azure AD, or custom OAuth providers.

Multi-Environment Support

Configure and switch between dev, staging, and prod environments.

Sidebar Integration

View and manage environments and tokens from the activity bar.

Multiple Auth Methods

Supports request body credentials and Basic Authentication headers.

Custom Headers

Add custom HTTP headers with environment variable support.

Custom Body Fields

Fully customize request body for non-standard OAuth APIs.

Quick Token Generation

Generate bearer tokens with a single command or from the sidebar.

Clipboard Integration

Automatically copies generated tokens to clipboard.

Token Caching

Caches valid tokens to avoid unnecessary API calls.

Status Bar Integration

Shows current environment and provides quick access.

Credential Testing

Test your OAuth configuration before saving.

Tree View

Visual organization of environments and tokens in the sidebar.

Environment Variables

Use ${VARIABLE_NAME} syntax in any credential field.

Responsive Design

UI adapts seamlessly to narrow panels and different screen sizes.

Import / Export

Share environment configurations across teams via JSON.

Works with your identity provider

Auth0

Identity platform for applications

Okta

Enterprise identity management

Azure AD

Microsoft Azure Active Directory

Custom

Any OAuth 2.0 compliant provider

Up and running in 4 steps

Install the Extension

Install from the VS Code Marketplace or via code --install-extension.

Configure OAuth Credentials

Run OAuth: Configure Credentials from the Command Palette and fill in your details.

Use the Sidebar

Click the key icon in the Activity Bar to manage environments and generate tokens.

Generate Tokens

Use the sidebar, Command Palette, or status bar. Tokens are auto-copied to clipboard.

Built with security first

  • All sensitive credentials are stored using VS Code's secure storage API
  • Tokens are cached locally but automatically removed when expired
  • No credentials are logged or transmitted except to your OAuth token endpoint

Streamline your OAuth workflow

View the source code on GitHub or browse more tools in the garden.