{"repo":"workos/workos-node","free":true,"listed":false,"github":"https://github.com/workos/workos-node","clone":"git clone https://github.com/workos/workos-node.git","description":"Official Node SDK for interacting with the WorkOS API","language":"TypeScript","stars":220,"topics":["sso","saml","sso-solution","okta","azure-active-directory","audit-logs","scim","adfs","gsuite-saml-apps","directory-sync"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"WorkOS Node.js Library The WorkOS library for Node.js provides convenient access to the WorkOS API from applications written in server-side JavaScript. Documentation See the API Reference for Node.js usage examples. Requirements Node 22.11 or higher. Installation Install the package with: Configuration To use the library you must provide an API key, located in the WorkOS dashboard, as an environment variable WORKOS API KEY : Or, you can set it on your own before your application starts: Automatic retries The SDK automatically retries requests that fail with a transient error — a network error, a request timeout (408), a rate limit (429), or a server error (500, 502, 503, 504) — using exponential backoff with jitter. When the API responds with a Retry-After header, the SDK waits for that duration instead (capped at 60 seconds). Retried POST requests are automatically assigned an Idempotency-Key header (unless one is already set) so a retried write is not applied twice. The default is 3 retries. Configure it client-wide, or per request on the low-level HTTP methods: Set maxRetries: 0 to disable automatic retries entirely. Public Client Mode (Browser/Mobile/CLI) For apps that can't securely store secrets, initialize with just a client ID: [!IMPORTANT] Store codeVerifier securely on-device between generating the auth URL and handling the callback. For mobile apps, use platform secure storage (iOS Keychain, Android Keystore). For CLI apps, consider OS credential storage. The verif","default_branch":null,"files":null,"tree":[],"storefront":"/r/workos","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/workos/workos-node/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}