WorkOS
Setting up WorkOS
Unkey does not require WorkOS. You can use Unkey without any 3rd party identity provider if you want. As a business however, we use WorkOS for our identity provider in production.
If you want to set up WorkOS locally or in preview mode, follow these steps:
This is not a comprehensive production checklist.
Login to WorkOS
- Go to WorkOS
- Sign in
Select Environment
In the top left corner, select the environment you want to use.
For Unkey employees, this is staging
.
Copy credentials
Under the Quick start
section on /get-started, you should find the WORKOS_CLIENT_ID
and WORKOS_API_KEY
.
You'll need those in the next step.
Configure .env
In /apps/dashboard/.env
, ensure the following variables are set:
You can generate a secure cookie password via openssl rand -base64 64
Last updated on