C=USEnterprise compatibility →

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.

The rule

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:

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 SaaS sign-in identifies a person; only the key and the grant authorize The three layers are checked separately; none stands in for another. WorkOS sign-in new, identifies Google, Microsoft, GitHub, Apple, email or company SSO Gives a name and email. Authorizes nothing. Security-key login unchanged, enrolls Hardware-attested YubiKey, with PIN and touch Required to register an agent and receive its mTLS certificate Directory grant state DSA, authorizes cequsAuthorizedScope inside its grant start and end dates Required for every agent action, such as grading a lot How the WorkOS sign-in completes on evaluate.cequs.com Evaluator container no internet access Apache /.workos-relay/ container address only api.workos.com certificate verified

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.

ActionWorkOS sign-inSecurity-key loginDirectory grant (state DSA)
Be shown as “Signed in as …” on the evaluator and participants’ pagesEnoughNot neededNot needed
Set up a security key from a state enrollment codeNot enoughCreated by this stepEntry must exist and be active
Register an agent and receive its mTLS certificateNot enoughRequiredEntry must exist
Have an agent grade a lot at agents.cequs.comNot enoughNot enoughRequired: cequsAuthorizedScope within cequsGrantStart–cequsGrantEnd
Read evaluator records (elevated access)Not enoughRequired, with an elevated access codeNot 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.

No new credential to manageFarmers, co-op staff, processors and evaluators sign in with Google, Microsoft, GitHub, Apple or email. C=US never holds a password or runs a password reset flow.
Organizations can bring their own SSOWorkOS supports enterprise connections (SAML and OIDC) per organization, and an Admin Portal where that organization’s IT administrator configures them. A co-op or processor on Microsoft Entra or Okta can be onboarded without C=US touching its identity provider.
Offboarding follows the employerWhen an organization disables an SSO user in its own directory, that person’s next WorkOS sign-in fails. C=US does not have to learn about the departure first.
Hardware trust is untouchedThe sign-in is layered beside the attested security key, not in place of it, so the enrollment and agent-certificate path keeps its current strength.
Isolation is keptOn evaluate.cequs.com the container still has no internet access. Only the code exchange leaves, through one Apache path that accepts the container’s address alone and verifies WorkOS’s certificate.
Low build costThree routes, one session field and one script on the pages, with tests against a fake WorkOS API. WorkOS hosts the sign-in pages, MFA and the provider buttons, branded as C=US.

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.

A SaaS identity is not a registered personA Google or Microsoft account proves control of an email address, not that the holder is the farmer or official registered in the state directory. Until a sign-in is linked to a directory entry (a DN in that state’s DSA), it can label a session but cannot carry authority.
A new dependency in the sign-in pathIf WorkOS or the chosen provider is down, WorkOS sign-in stops. The security-key path keeps working because it does not use WorkOS.
Data leaves the C=US control planeWorkOS sees each sign-in, the email address and the provider used. WorkOS is a United States service, which matters for Quebec participants under c=CA and for any state that wants its residents’ sign-ins kept in-state.
It runs beside the directory, not from itWorkOS Organizations and users form a second roster next to the state DSAs. Keeping the two aligned (who belongs to which farm or co-op) is extra work and a source of drift.
Session lifetime is longer than the pages implyThe WorkOS session can last up to the configured maximum (365 days in Staging), so returning to /login signs a person straight back in without a prompt. A shared computer needs an explicit Sign out.
More moving parts on the isolated hostThe Apache relay is a narrow, address-restricted path, but it is still an exception to the container’s no-egress rule, and it needed a certificate-chain depth fix (SSLProxyVerifyDepth 4) before it worked.
Cost and lock-inEnterprise SSO connections are priced per connection, and the sign-in pages, branding and user records live in WorkOS. Moving to another provider means redoing the routes and re-enrolling organizations’ connections.
Staging onlyOnly the WorkOS Staging environment is configured, with a test API key. Production needs its own redirects, CORS origins, branding and a live key handled by the administrator.
Open questions before wider use
  1. Link a WorkOS user to a directory entry: by a state registrar’s enrollment code, or by a verified email held on the entry?
  2. Should a WorkOS sign-in become a precondition for security-key setup (both layers), or stay optional?
  3. Which organizations get enterprise SSO first, and who in C=US approves each connection?
  4. Is a US-hosted sign-in acceptable for Quebec participants, or does c=CA need its own provider?
  5. Shorten the WorkOS session lifetime for shared farm and co-op computers?
  6. Set up the WorkOS production environment, and decide who holds its live API key.

Sources

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.