Setup
1
Create a WorkOS account
Sign up at workos.com and create a new project.
2
Configure your application
In the WorkOS Dashboard:
- Go to Applications → Create a new application
- Add redirect URI:
http://127.0.0.1:3000/api/auth/workos/callback(local dev) - Add redirect URI:
https://app.whilst.io/api/auth/workos/callback(production)
3
Enable Organizations
Go to Organizations and enable “Allow organization creation via API”.
4
Set environment variables

