WorkOS AuthKit and SaaS users in the C=US architecture
WorkOS AuthKit lets people sign in to C=US pages with an identity they already hold at a SaaS provider: Google, Microsoft, GitHub, Apple, or their organization’s single sign-on. That sign-in identifies the person; it does not authorize them. Agent enrollment still requires a hardware-attested security key, and every agent action still requires a time-bounded grant in the person’s state directory.
A SaaS sign-in identifies a person; only the security key and the directory grant authorize. The three layers are checked separately, and none stands in for another.
Get test keys
Testing the security-key layer needs a YubiKey 5 Series key, and two are recommended: the C=US pages ask you to add a second key as a backup. Enrollment accepts Yubico keys only. Two ways to get a pair of USB-C keys:
- OpenAI–Yubico bundle, at preferred pricing. Two keys, a YubiKey C Nano and a YubiKey C NFC, for eligible OpenAI users in the US, UK and EEA. Sign in to an OpenAI account at chatgpt.com/yubikey to check eligibility; checkout and the price are on Yubico’s site. See OpenAI’s bundle article.
- Yubico’s store, at the regular price. The YubiKey 5C NFC is sold one key at a time; two at $58 each pass the $100 threshold for free shipping in the US and Canada.
Test users do not have to wait for their own state’s directory: they can enroll under the st=Schuylkill test directory with an enrollment code from the C=US administrator. st=Schuylkill is illustrative, as example.com is a domain, not a real jurisdiction.
Bundle terms from OpenAI’s help article, and price and shipping from yubico.com, as shown on 2026-11-28. No affiliate links. OpenAI and Yubico do not sponsor or endorse C=US.
How it fits
A person starts at /login, signs in on the C=US-branded AuthKit page with their SaaS provider, and returns to /callback. The server exchanges the one-time code with WorkOS. On evaluate.cequs.com that single call goes through an Apache path that only the container’s address may use, because the container itself has no internet access.
What a signed-in SaaS user can do today
A WorkOS sign-in alone lets a person be recognized by name and email. Everything that acts on the directory or on a lot still needs the two stronger layers.
| Action | WorkOS sign-in | Security-key login | Directory grant (state DSA) |
|---|---|---|---|
| Be shown as “Signed in as …” on the evaluator and participants’ pages | Enough | Not needed | Not needed |
| Set up a security key from a state enrollment code | Not enough | Created by this step | Entry must exist and be active |
| Register an agent and receive its mTLS certificate | Not enough | Required | Entry must exist |
| Have an agent grade a lot at agents.cequs.com | Not enough | Not enough | Required: cequsAuthorizedScope within cequsGrantStart–cequsGrantEnd |
| Read evaluator records (elevated access) | Not enough | Required, with an elevated access code | Not needed |
The WorkOS identity is kept in its own session field and never satisfies the security-key check, so a compromised SaaS account cannot enroll a key or obtain an agent certificate.
Advantages
The main gain is a familiar front door: people and organizations bring the identity they already use, and C=US stores no passwords.
Disadvantages
The main cost is a third party in the sign-in path whose identity assurance is weaker than the hardware layer and whose jurisdiction is not a state’s.
c=CA and for any state that wants its residents’ sign-ins kept in-state./login signs a person straight back in without a prompt. A shared computer needs an explicit Sign out.SSLProxyVerifyDepth 4) before it worked.- Link a WorkOS user to a directory entry: by a state registrar’s enrollment code, or by a verified email held on the entry?
- Should a WorkOS sign-in become a precondition for security-key setup (both layers), or stay optional?
- Which organizations get enterprise SSO first, and who in C=US approves each connection?
- Is a US-hosted sign-in acceptable for Quebec participants, or does
c=CAneed its own provider? - Shorten the WorkOS session lifetime for shared farm and co-op computers?
- Set up the WorkOS production environment, and decide who holds its live API key.
Sources
- This project’s
yubikey-mtls-demo/workos-authkit.js,yubikey-mtls-demo/public/workos-signin.jsanddeploy/evaluator-access/evaluate.cequs.com.conf(pull requests #292 and #293, merged 2026-11-28). - The WorkOS Staging environment’s configuration (redirects, CORS origins, session lifetime, branding), as set on 2026-11-28.
- Live checks on evaluate.cequs.com, 2026-11-28:
/loginredirects to AuthKit; the relay answers WorkOS’s 400 from the container and 403 from outside; a Google sign-in completed.
Drafted by Claude (Claude Code, Opus 5.5) on 2026-11-28 at the student’s request, from the integration as built and deployed that day. The advantages and disadvantages are AI-generated analysis, awaiting the student’s review.