cloudflare/workers-oauth-provider

OAuth provider library for Cloudflare Workers

About the project

workers-oauth-provider is a library that adds OAuth 2.1 authorization to HTTP APIs and remote MCP servers running on Cloudflare Workers. It is for protecting Worker routes, validating bearer tokens, and supporting authorization discovery for MCP clients. The catalogue entry is an instruction for using this library.

This repository also configures its own agents. See what workers-oauth-provider tells them →

1.9kStars on the repository
2Mods indexed here, across every type
9d agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

cloudflare/workers-oauth-provider

Skill Claude CodeCodex ✓ vendor

Upgrade a Cloudflare Worker's @cloudflare/workers-oauth-provider from 0.x, 1.0 or 1.1 to the latest 1.x. Use when bumping that dependency, or when OAuthProvider / OAuthAuthorizationServer / OAuthResourceServer construction throws after an upgrade.

not rated 1.9k +3 9d ago A 70 tokens original MIT