oauth-pkce-flow

Official

Secure OAuth PKCE flow integration for CLIs.

Authorco-labs-co
Version1.0.0
Installs0

System Documentation

What problem does it solve?

CLI applications often struggle to securely authenticate users against external providers without exposing credentials or compromising tokens. This skill provides a PKCE-based OAuth 2.1 flow with secure token storage and automatic refresh, suitable for CLI tools and SDKs.

Core Features & Use Cases

  • PKCE with S256 is mandatory for public clients.
  • Secure token storage using system keyring with file-based fallback.
  • Automatic token refresh with a 60-second expiration buffer.
  • Provider templates to easily add new OAuth providers.
  • CLI/SDK integration and debugging guidance.

Quick Start

Authenticate a provider (for example, GitHub) by invoking the OAuth flow via the CLI (for example, context-harness mcp auth github) and complete the browser-based login. Tokens are stored securely and refreshed automatically.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: oauth-pkce-flow
Download link: https://github.com/co-labs-co/context-harness/archive/main.zip#oauth-pkce-flow

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.