Playbooks

How to get picked for authentication by coding agents

WorkOS AuthKit took 23% of the choices in 1,063 judged authentication sessions. What the numbers say a vendor in this category should do.

Published November 24, 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 1,063 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 1063 judged sessions, WorkOS AuthKit was chosen most often, with 23% of the choices. Auth0 was second with 22%.

#ProductRuns wonShare
1WorkOS AuthKit19923%
2Auth026222%
3Clerk13111%
4Microsoft Entra ID11510%
5Arctic175%
6Keycloak424%
7Built in-house (no product adopted)854%
8Better Auth383%
9Okta153%
10django-allauth93%

Full board, every run replayable: the authentication leaderboard.

What the shape of this category means

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

With the top product at 23%, 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 (339 sessions) join this table with fewer runs, so read their rows as indicative.

AgentRunsPicked most often
Claude Code201WorkOS AuthKit (63)
Codex340Auth0 (102)
Cursor133WorkOS AuthKit (27)
Grok Build CLI50WorkOS AuthKit (16)
Muse Code339Auth0 (93)

That split decides where a vendor spends. In this category Codex ran a web search in 94% of its sessions and Claude Code in 27%, 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 coder142Arctic
Junior developer328WorkOS AuthKit
Senior engineer358Auth0
Enterprise team235Microsoft Entra ID

That is 4 different products winning authentication for 4 kinds of buyer, out of the same 1,063 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

Hand-written code took 4% of the choices: the agent wrote it 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 GitHub: on the table in 241 sessions, chosen in none.

ProductRaised inChosen in
GitHub241 sessions0
Stytch91 sessions0
Lucia90 sessions0
Passport82 sessions0
Laravel Breeze55 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 559 sessions is recorded in each transcript, one reason at a time.

What to do about it in authentication

  1. Treat the ordering as movable. The leader holds 23%, so agents are deliberating rather than defaulting, and the inputs they use can change the answer. This is the most winnable shape a category comes in.
  1. Pick which buyer you are for. The same authentication need written as a vibe coder landed on Arctic, 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

1,063 judged sessions in authentication across 17 codebases, part of a published set of 19,501. 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?

1,063 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 1063 judged sessions, WorkOS AuthKit was chosen most often, with 23% of the choices. Auth0 was second with 22%. 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?

Hand-written code took 4% of the choices: the agent wrote it 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?

GitHub (raised in 241 sessions, chosen in none), Stytch (raised in 91 sessions, chosen in none), Lucia (raised in 90 sessions, chosen in none), Passport (raised in 82 sessions, chosen in none), Laravel Breeze (raised in 55 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 19,501 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