Skip to content

fix: point missing-config errors to npx workos@latest install - #98

Draft
nicknisi wants to merge 1 commit into
mainfrom
nicknisi/missing-config-install-hint
Draft

nicknisi wants to merge 1 commit into
mainfrom
nicknisi/missing-config-install-hint

Conversation

@nicknisi

@nicknisi nicknisi commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Why

The AuthKit config errors that @workos-inc/authkit-react-router throws when WorkOS variables are missing name the variable and nothing else, so an agent has to stop and ask a human. Clerk's missing-keys error tells the agent to run npx clerk@latest init, which needs no account. We have the same thing in npx workos@latest install, which provisions an unclaimed environment and writes the variables, but nothing points to it.

  • A missing required config value (WORKOS_CLIENT_ID, WORKOS_REDIRECT_URI, WORKOS_COOKIE_PASSWORD) now ends with that hint and the dashboard link.

Proof

  • A new spec asserts the missing WORKOS_CLIENT_ID error mentions npx workos@latest install. On main it does not.
  • The existing spec that matches the original sentence still passes unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant