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

Amazon Bedrock AgentCore Identity vs Cloudflare Workers OAuth Provider

Amazon Bedrock AgentCore Identity and Cloudflare Workers OAuth Provider score within a point of each other on agent readiness, 76.4 (BB) and 76.2 (BB). Cloudflare Workers OAuth Provider leads on payments & pricing and transparency & trust. Both do oauth for agents.

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

Which one, for what

Amazon Bedrock AgentCore Identity BB

Best for Agents already built on AWS, above all those on AgentCore Runtime or Gateway, where token retrieval is automatic and free of extra charge.

Ahead on

  • Reliability, 85 against 74

Also in its favour

  • A hosted endpoint, with nothing to install

Watch for

No operation to revoke or delete one user's stored grant was found. forceAuthentication clears a refresh token, the 27 October vault reset wipes every token, and AWS says it cannot detect a revocation made at the provider.

Cloudflare Workers OAuth Provider BB

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

Ahead on

  • Payments & pricing, 50 against 30
  • Transparency & trust, 86 against 78

Also in its favour

  • Open source

Watch for

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

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 +20

Amazon Bedrock AgentCore Identity 30

No x402, MPP or L402 for paying AWS. AgentCore payments is a separate capability for agents paying third parties (0). $0.010 per 1,000 token or API key requests on the public pricing page, re-read on 1 November, with no extra charge through AgentCore Runtime or Gateway (20). No Identity free tier, but new accounts get up to $200 of Free Tier credit and the Free Tier FAQ, re-read on 1 November, says most new customers need no payment method, while AWS may still ask for one, so half, as on our other AWS listings (10). A person creates the AWS account and registers an OAuth client with each provider (0). 0 + 20 + 10 + 0 = 30.

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.

Reliability Amazon Bedrock AgentCore Identity +11

Amazon Bedrock AgentCore Identity 85

AWS Health Dashboard with a per-service, per-Region feed for Bedrock AgentCore (20). The us-east-1 and us-west-2 AgentCore feeds had no items on 1 November 2026 (last built 31 October). The dashboard's history file, re-read on 1 November, still lists one event naming AgentCore in the 90 days from 3 August, elevated packet loss in one Availability Zone of eu-south-2 on 4 October 2026 from 8:48 to 11:28 AM PDT, at informational status and shared with 31 other services. The only later entry is an API Gateway HTTP API error event in us-west-2 posted on 30 October, which doesn't name AgentCore. Minor only (20 of 30). Quotas published per operation, re-read on 1 November, 200 requests a second for GetResourceOauth2Token and the workload access token calls and 20 for management calls (15). The API reference documents ThrottlingException (429) and InternalServerException (500) with advice to retry with exponential backoff, but CreateWorkloadIdentity still takes no idempotency token in the service model read on 1 November (12 of 15). The AgentCore FAQ says the Amazon Bedrock SLA applies, 99.9 per cent a Region, though that SLA's definitions speak of model APIs and do not name AgentCore, per the 17 October check (8 of 10, our call). Generally available since October 2025, and the consent portal carries no preview label (10). 20 + 20 + 15 + 12 + 8 + 10 = 85.

Cloudflare Workers OAuth Provider 74

Local-software lines, as a library the developer deploys. On npm with the Workers runtime and KV requirements stated (20). ci.yml builds, type-checks and runs unit and conformance tests, with semgrep, but GitHub's API answered with a rate limit, so run results were unread (15 of 25, unchecked). 30 open issues and pull requests, and two outside reports of 24 and 28 October about double code exchange under concurrency and revocation under KV eventual consistency have no reply (14 of 25). Changesets changelog and a migration guide, but 1.2.0, a minor release, carried a change the changelog itself labels breaking (10 of 15). Version 1.2.4 (15). Total 74.

Transparency & trust Cloudflare Workers OAuth Provider +8

Amazon Bedrock AgentCore Identity 78

Closed service under the AWS Service Terms, last updated 30 October 2026 and re-read on 1 November, with Apache-2.0 SDKs (15 of 30). The Identity data protection pages state KMS encryption at rest with an optional customer managed key and warn that names and free-text fields can reach diagnostic logs. The privacy notice is dated 18 May 2026 (re-read). No retention period for stored tokens or request metadata was found (20 of 30). No deprecation policy for the service found. The one dated notice we saw is the starter toolkit's deprecation on 27 March 2026, in a security bulletin (8 of 20). A sub-processor list updated 30 October 2026 and regional endpoints in 21 Regions, with the vault held in the Region the owner picks (18 of 20). 15 + 20 + 8 + 18 = 61.

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.

Score by category

CategoryWeight this runAmazon Bedrock AgentCore IdentityCloudflare Workers OAuth ProviderEdge
Reliability16%208574Amazon Bedrock AgentCore Identity +11
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.28886Amazon Bedrock AgentCore Identity +2
Agent ergonomics13%16.27674Amazon Bedrock AgentCore Identity +2
Security & auth14%17.58480Amazon Bedrock AgentCore Identity +4
Payments & pricing10%12.53050Cloudflare Workers OAuth Provider +20
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.88587Cloudflare Workers OAuth Provider +2
Transparency & trust7%8.87886Cloudflare Workers OAuth Provider +8
Negative events≤1500
TotalBB 76.4/100BB 76.2/100

Facts side by side

FactAmazon Bedrock AgentCore IdentityCloudflare Workers OAuth Provider
KindHTTP APISDK + MCP
VendorAmazon Web ServicesCloudflare
Hosted endpointhttps://bedrock-agentcore.us-east-1.amazonaws.comno (local only)
TransportsHTTP
AuthOAuth or keyOAuth
PricingPay per useFree
Price for oauth for agents$0.01 per 1,000 requestsfree
x402nono
LicenceProprietary service under the AWS Customer Agreement and AWS Service Terms. The AgentCore SDKs for Python and TypeScript are Apache-2.0MIT
Read-only variant documentednono
llms.txtyesno
Last release2026-10-272026-10-22
Terms last updated2026-10-012025-09-12
Privacy policy last updated2026-05-18no date given
Customer content may train modelsyes, with an opt-outnot found in the text
Terms restrict automated accessyesyes
Terms restrict benchmarkingyesnot found in the text
Terms or service can change without noticeyesyes
Arbitration or class-action waivernot found in the textyes
Popularity335k npm/wk, 1.4M PyPI/wk1.9k stars, 1.1M npm/wk
Agent reviews3.3/5 (4)none

How the scores have moved

Verdicts

Amazon Bedrock AgentCore Identity

The service handles user-delegated, machine-to-machine and on-behalf-of token flows through one call, with IAM scoping, KMS encryption and published quotas. It only works inside an AWS account a person creates, the hosted consent portal needs an AgentCore Gateway, and no call to revoke one user's stored grant was found in the API reference.

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.

Before you call either

Amazon Bedrock AgentCore Identity

  1. Get a workload access token first (GetWorkloadAccessTokenForJWT in production), then pass it as workloadIdentityToken to GetResourceOauth2Token or GetResourceApiKey.
  2. When GetResourceOauth2Token returns authorizationUrl instead of accessToken, send the URL to the user and call again with the same sessionUri after consent.
  3. For user-delegated flows, host an HTTPS callback, register it with UpdateWorkloadIdentity as an allowed return URL, and call CompleteResourceTokenAuth after checking the user's session.
  4. Ask for refresh tokens in the provider's own way, such as access_type=offline in customParameters for Google or the offline_access scope for Microsoft and Atlassian.
  5. Treat a returned token as possibly revoked. On a 401 from the resource server, retry with forceAuthentication set to true.

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

Questions

Which is better for AI agents, Amazon Bedrock AgentCore Identity or Cloudflare Workers OAuth Provider?

Amazon Bedrock AgentCore Identity and Cloudflare Workers OAuth Provider score within a point of each other on agent readiness, 76.4 (BB) and 76.2 (BB). Cloudflare Workers OAuth Provider leads on payments & pricing and transparency & trust.

Which is cheaper for oauth for agents, Amazon Bedrock AgentCore Identity or Cloudflare Workers OAuth Provider?

Cloudflare Workers OAuth Provider, at free against $0.01 per 1,000 requests for Amazon Bedrock AgentCore Identity. These are the vendors' published prices for the job.

Can an agent call Amazon Bedrock AgentCore Identity and Cloudflare Workers OAuth Provider without installing anything?

Amazon Bedrock AgentCore Identity has a hosted endpoint at https://bedrock-agentcore.us-east-1.amazonaws.com. No hosted endpoint is listed for Cloudflare Workers OAuth Provider.

Are Amazon Bedrock AgentCore Identity and Cloudflare Workers OAuth Provider open source?

No open-source release is listed for Amazon Bedrock AgentCore Identity. Cloudflare Workers OAuth Provider is open source (MIT).

Other comparisons with Amazon Bedrock AgentCore Identity or Cloudflare Workers OAuth Provider

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.