Playbooks

How to get picked for authentication by coding agents

Auth0 took 25% of 724 judged authentication sessions. What the numbers say a vendor in this category should do.

Published October 14, 2026 Read as Markdown

If you sell authentication providers, this page is the part of the market no dashboard shows you: what a coding agent does when a developer asks for authentication and never compares vendors.

The numbers come from 724 judged sessions with Claude Code, Codex, Cursor, Grok Build CLI and Muse Code, spread across 17 realistic codebases, with every session read by a judge.

What coding agents choose for authentication

Across 724 judged sessions, Auth0 was chosen most often, in 25% of runs. WorkOS AuthKit was second with 18%.

#ProductRuns wonShare
1Auth018025%
2WorkOS AuthKit13118%
3Clerk8612%
4Microsoft Entra ID8011%
5Built in-house (no product adopted)659%
6Better Auth294%
7Amazon Cognito233%
8Keycloak223%
9Google Identity142%
10Arctic112%

Full board, every run replayable: the authentication leaderboard.

What the shape of this category means

The leader takes only 25% of runs. This category is genuinely open and the ordering can be moved.

With the top product at 25%, authentication is decided in the moment, from what the agent reads and what it finds in the repository. Nothing is locked in, which is the best situation a vendor can be in and the one where the work pays fastest.

The order here is set by the quality of what an agent can read and by whether your product is already present in the codebase. Both are things you can change.

The agents do not agree with each other

In this category Claude Code, Codex and Cursor did not put the same product first.

Grok Build CLI (50 sessions) and Muse Code (204 sessions) join this table with fewer runs, so read their rows as indicative.

AgentRunsPicked most often
Claude Code133WorkOS AuthKit (40)
Codex204Auth0 (63)
Cursor133WorkOS AuthKit (27)
Grok Build CLI50WorkOS AuthKit (16)
Muse Code204Auth0 (59)

That split decides where a vendor spends. In this category Codex ran a web search in 100% of its sessions and Claude Code in 25%, so what you publish reaches nearly all of Codex's authentication sessions and about a quarter of Claude Code's. Taking Auth0's position with Codex is mostly a content problem. Taking WorkOS AuthKit's with Claude Code leans more on the repository.

Who is asking changes the answer

Every request in this experiment was written as a specific kind of person. In this category the leader changes with the person.

Who is askingRunsPicked most often
Vibe coder98Google Identity
Junior developer223Auth0
Senior engineer243Auth0
Enterprise team160Microsoft Entra ID

That is 3 different products winning authentication for 4 kinds of buyer, out of the same 724 sessions. Nobody here is winning authentication. They are each winning one kind of buyer.

If you sell to more than one of them, you need pages for each. See how to win the enterprise persona.

What you are really competing against

In 9% of runs the agent wrote the code itself rather than adopting a product. That is low enough that your competition is other vendors, but high enough to be worth watching.

Considered, and never chosen

Because the judge records every product an agent raised and not only the one it picked, this board also shows who kept reaching the shortlist and losing. In authentication the clearest case is Auth.js: on the table in 163 sessions, chosen in none.

ProductRaised inChosen in
Auth.js163 sessions0
Passport77 sessions0
Stytch76 sessions0
Lucia69 sessions0
Laravel Breeze45 sessions0

Being rejected is a better position than being unknown, and a cheaper one to fix. The product is already in the agent's head and on the list. Whatever ended those 430 sessions is recorded in each transcript, one reason at a time.

What to do about it in authentication

  1. Aim at second place first. Auth0 holds 25% and WorkOS AuthKit holds 18%. The gap between the default and the field is where the reachable sessions are.
  1. Pick which buyer you are for. The same authentication need written as a vibe coder landed on Google Identity, and written as an enterprise team landed on Microsoft Entra ID. Those are two markets, and the enterprise one needs pages containing the constraint words: audit log, data residency, retention, single sign-on. See how to win the enterprise persona.
  1. Measure per agent. Claude Code put WorkOS AuthKit first, Codex put Auth0 first, Cursor put WorkOS AuthKit first, Grok Build CLI put WorkOS AuthKit first, Muse Code put Auth0 first. A blended number for authentication describes a market that does not exist.

The work that applies to every category rather than to this one is written up separately: audit your documentation, write a quickstart an agent can follow, and how to measure install share.

Every authentication provider on this board

One page per product, with its install share, the per-agent split, and how often it was raised without being chosen.

Where these numbers come from

724 judged sessions in authentication across 17 codebases, part of a published set of 15,287. Real coding agents at pinned versions, in sandboxes, inside realistic codebases, with a simulated project owner in the loop and a blind judge on every session. The full method is on one page: how we measured this.

Every authentication run can be replayed on the board.

<!-- generated by scripts/write-data-pages.mjs -->

Common questions

How many codebases is this based on?

724 judged sessions across 17 realistic codebases. A category only runs on repositories where its seam is open, so coverage differs: some categories ran on more than ten codebases and some on two.

What authentication provider do coding agents choose?

Across 724 judged sessions, Auth0 was chosen most often, in 25% of runs. WorkOS AuthKit was second with 18%. The result changes by agent and by who is asking.

Do Claude Code and Codex pick the same authentication provider?

No. Claude Code picked WorkOS AuthKit, Codex picked Auth0, Cursor picked WorkOS AuthKit. Measuring one agent tells you about part of the market only.

How often do agents build authentication themselves instead of installing something?

In 9% of runs the agent wrote the code itself rather than adopting a product.

How can a vendor improve its position here?

Make the quickstart run when pasted, state the current version on the documentation page, use one name across product, package and import, write pages for the symptoms users describe rather than only the category name, and get into the repository through templates and framework integrations.

Which authentication providers do agents consider but never choose?

Auth.js (raised in 163 sessions, chosen in none), Passport (raised in 77 sessions, chosen in none), Stytch (raised in 76 sessions, chosen in none), Lucia (raised in 69 sessions, chosen in none), Laravel Breeze (raised in 45 sessions, chosen in none). Being considered and not chosen is a different problem from being unknown, and it is usually fixable.

Where this comes from

Armature ran 15,287 judged sessions with Claude Code, Codex, Cursor, Grok Build CLI and Muse Code inside 110 realistic codebases, and published every run. The numbers on this page come from that work.

Read next

All library pages