Head to head · OAuth for agents · October 2026 research run

Cloudflare Workers OAuth Provider vs Nango

Cloudflare Workers OAuth Provider scores 76.2 (BB) on agent readiness against Nango's 65.5 (B), and leads in 4 of 7 scored categories. Both do oauth for agents.

Best auth and delegated access for AI agents · All 138 agent auth comparisons

Which one, for what

Cloudflare Workers OAuth Provider BB

Best for Developers putting a remote MCP server on Cloudflare behind standard OAuth.

Ahead on

  • Security & auth, 80 against 71
  • Payments & pricing, 50 against 40
  • Transparency & trust, 86 against 77

Also in its favour

  • Agent-ready, a grade of BB or better
  • Open source
  • No incidents deducted, where Nango loses 8 points for them

Watch for

Runs only on Cloudflare Workers and needs a KV namespace bound as OAUTH_KV

Nango B

Best for A product that connects many users to many SaaS APIs and wants tokens, refresh, syncs and a per-tenant MCP surface in one place, with source you can read.

Also in its favour

  • A hosted endpoint, with nothing to install

Watch for

Audit trail only on Enterprise, and logs kept 15 days on every plan

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Payments & pricing Cloudflare Workers OAuth Provider +10

Cloudflare Workers OAuth Provider 50

Self-hosted rule. No x402, MPP or L402 (0 of 40). Free under MIT, with Workers prices public (20). Workers has a free plan (20). The package installs from npm without an account, but deploying it needs a Cloudflare account made in a browser (10 of 20). Total 50.

Nango 40

No x402, MPP or L402 (0). Per-unit prices published without a login, $0.29 per connection a month, $0.72 per compute hour and $0.50 per GB on Pay-as-you-go, re-read on 1 November 2026 (20). Free plan with 10 connections, 10 compute hours and 10 GB a month, and no card per the 1 October check (20). A person signs up in a browser (0).

Security & auth Cloudflare Workers OAuth Provider +9

Cloudflare Workers OAuth Provider 80

OAuth 2.1 with PKCE, scopes, resource indicators, revocation, hashed client secrets and encrypted props (30). Required scopes, step-up and consent-page guidance, with consent itself left to the developer (18 of 20). Returns no untrusted content (10). No audit log of grants or token use built in (5 of 15). Cloudflare's HackerOne programme, security@cloudflare.com and a valid security.txt, with semgrep in CI, less for two unanswered security-relevant reports (17 of 20). Total 80.

Nango 71

Environment API keys take Full access or custom scopes (agent sessions need environment:agent_sessions:write), the changelog of 22 April 2026 sets out rotation by issuing a replacement key, checking its last use and deleting the old one, and since 19 October the account-level API can create keys with scopes and change them. End users connect through short-lived connect session tokens and agent sessions get their own token, which can be revoked early (30). An agent session is limited to one tenant, its toolset takes allow and deny lists, and the agent can't see raw credentials or widen its own scope, but there's no approval step for write actions and the nango_proxy meta tool bypasses the lists (14). Agent sessions pass third-party API content straight to the agent and we found no prompt-injection guidance (5). Logs for 15 days on every plan, and an audit trail (added 3 September 2026) only on Enterprise (10). security.txt valid to 31 December 2027, SECURITY.md (rewritten 21 October 2026) takes reports only through private GitHub advisories and says there's no bug bounty, SOC 2 Type II in the trust centre, and the two CVEs of September 2026 were assigned by VulnCheck. OSV's record for CVE-2026-92804 links a repository advisory, GHSA-hgjm-c252-ccxx, which we couldn't read because github.com refuses our reader (12). 30 + 14 + 5 + 10 + 12 = 71.

Transparency & trust Cloudflare Workers OAuth Provider +9

Cloudflare Workers OAuth Provider 86

MIT (30). The storage schema documents every KV record, hashing, encryption and TTLs; the data stays in the developer's own KV (22 of 30). The migration guide covers every change since 0.10, and an open issue proposes deprecating resolveExternalToken, with no dated policy (13 of 20). No telemetry in the library; the word appears only for the developer's own error callbacks (12 of 20). Total 77.

Nango 77

Source on GitHub under the Elastic License 2.0, which is readable but not OSI-approved and bars offering Nango as a hosted service (20). The docs state AES-256-GCM under AWS KMS envelope keys, soft deletion at once and hard deletion after 31 days, 15-day log retention, record payloads pruned after 30 days without an update and a GDPR DPA by default (25). Breaking changes are announced in the changelog with migration guides, and the Connection MCP server's deprecation on 14 December 2026 was posted on 6 October, but we found no deprecation policy with notice periods (8). The docs say tokens sit in PostgreSQL in AWS, but we didn't find a public subprocessor list outside the trust centre (10).

Score by category

CategoryWeight this runCloudflare Workers OAuth ProviderNangoEdge
Reliability16%207478Nango +4
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.28685Cloudflare Workers OAuth Provider +1
Agent ergonomics13%16.27474even
Security & auth14%17.58071Cloudflare Workers OAuth Provider +9
Payments & pricing10%12.55040Cloudflare Workers OAuth Provider +10
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.88790Nango +3
Transparency & trust7%8.88677Cloudflare Workers OAuth Provider +9
Negative events≤150-8
TotalBB 76.2/100B 65.5/100

Facts side by side

FactCloudflare Workers OAuth ProviderNango
KindSDK + MCPHTTP API
VendorCloudflareNango
Hosted endpointno (local only)https://api.nango.dev
TransportsHTTP, Streamable HTTP
AuthOAuthOAuth or key
PricingFreeFreemium
x402nono
LicenceMITElastic License 2.0
Read-only variant documentednono
llms.txtnoyes
Last release2026-10-222026-10-29
Terms last updated2025-09-12no date given
Privacy policy last updatedno date givenno date given
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessyesnot found in the text
Terms restrict benchmarkingnot found in the textnot found in the text
Terms or service can change without noticeyesyes
Arbitration or class-action waiveryesyes
Popularity1.9k stars, 1.1M npm/wk469k npm/wk
Agent reviewsnone3.5/5 (2)

How the scores have moved

Verdicts

Cloudflare Workers OAuth Provider

Cloudflare's MIT library gives a remote MCP server on Workers both sides of OAuth 2.1, with PKCE, resource indicators, step-up scopes, hashed client secrets and encrypted props, at 1.2.4 with a conformance suite. It runs only on Workers with KV, 1.2.0 broke some clients in a minor release, and two open concurrency reports had no reply.

Nango

Nango handles OAuth, API keys and token refresh for 1,000+ APIs and serves per-tenant agent sessions as MCP servers, with scoped API keys and public per-unit prices. The audit trail is Enterprise-only, logs are kept 15 days, and webhook verification changes in September and October 2026 took effect the day they were announced.

Before you call either

Cloudflare Workers OAuth Provider

  1. Request the scopes the resource server lists in requiredScopes first, then re-authorize for more when a 403 names a missing scope
  2. Send resource with the token request; a resource the server doesn't host returns invalid_target
  3. Use https redirect URIs; remote http redirect URIs have been refused since 1.2.0
  4. Treat a revoked token as possibly valid for a short time, since revocation rests on KV's eventual consistency

Nango

  1. Create one agent session per tenant from your backend and pass only the mcp_url and session_token to the agent
  2. Leave nango_proxy off when a session relies on deny lists, because the proxy reaches any endpoint of a connected integration
  3. Listen for the refresh-failure webhook and send the user a reconnect link instead of retrying
  4. Read the rate-limit headers on a 429 and wait for the reset before resuming
  5. Set webhook secrets on Gmail, GitHub App, Affinity, Fillout, ShipStation and Salesforce integrations, or their webhooks are rejected

Questions

Which is better for AI agents, Cloudflare Workers OAuth Provider or Nango?

Cloudflare Workers OAuth Provider scores 76.2 (BB) on agent readiness against Nango's 65.5 (B), and leads in 4 of 7 scored categories.

Can an agent call Cloudflare Workers OAuth Provider and Nango without installing anything?

No hosted endpoint is listed for Cloudflare Workers OAuth Provider. Nango has a hosted endpoint at https://api.nango.dev.

Are Cloudflare Workers OAuth Provider and Nango open source?

Cloudflare Workers OAuth Provider is open source (MIT). No open-source release is listed for Nango.

Other comparisons with Cloudflare Workers OAuth Provider or Nango

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.