Understand the differences between staging and production environments in WorkOS and how to transition between them.
Every WorkOS workspace includes a staging environment and a production environment. These are fully separate: API keys, organizations, connections, users, and webhook endpoints are all scoped to a single environment and do not carry over between them.
The one exception is AuthKit branding. Logo, colors, and custom theme settings are shared across environments, so any branding configuration will appear in both staging and production.
Use the staging environment when you are:
Staging is free. No connections in staging incur charges, regardless of type. There is no limit to the number of organizations you can create.
Use the production environment when you are:
Production requires adding billing information to the WorkOS dashboard. Only enterprise connections (such as SAML-based Single Sign-On or SCIM-based Directory Sync) in production incur charges. OAuth connections and all staging connections are free.
| Feature | Staging | Production |
|---|---|---|
| Redirect URIs | Allows http:// and localhost | Requires https://; blocks localhost |
| API keys | Re-viewable in the dashboard | View-once at creation – store securely |
| Custom domains | Not available | Available (optional paid add-on) |
| Billing | No charges | Enterprise connections incur charges |
| Test identity provider | Built-in test IdP available | No test IdP – use real connections |
| Rate limits | Same as production | Same as staging |
| Product setup | Guided setup flow for each product | Setup steps are streamlined; assumes your app is ready |
| Branding | Shared with production | Shared with staging |
No. Staging and production are fully separate environments. Nothing carries over automatically. When you are ready to go live, you will need to:
https://).Branding is the only configuration that carries over. Everything else – organizations, connections, redirect URIs, API keys, webhook endpoints – must be set up fresh.
Staging is designed for development and testing, not for serving production traffic. Key details:
For most development and testing workflows, staging has no practical limitations.
If you configure a test SAML provider in production, be aware that:
Some developers prefer to skip staging and build directly against production, especially for simple use cases like AuthKit username/password authentication. Here are the tradeoffs:
Pros:
Cons:
https://, which adds setup overhead for local developmentRecommendation: Use staging for development and testing, then transition to production when you are ready to onboard real customers. The migration is straightforward – it mainly involves swapping environment variables and recreating your configuration.
When you are ready to move from staging to production:
For the full SSO launch checklist, see the SSO launch checklist.
No. Both environments are included in a single WorkOS workspace.
Yes. WorkOS can create additional environments for your workspace. Contact support if you need more than the default staging and production environments.
Currently, production requires billing information to unlock. However, you will not be charged unless you have active enterprise connections. For simple AuthKit usage without SSO, there is no cost beyond adding billing info.
No. Environments are tied to a specific workspace and cannot be transferred.