-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
15 lines (13 loc) · 727 Bytes
/
Copy path.env.example
File metadata and controls
15 lines (13 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Copy this file to .env in the repo root and fill in the two required values.
# Both come from the WorkOS Dashboard -> API Keys page (use the Sandbox environment to start).
WORKOS_API_KEY=sk_test_...
WORKOS_CLIENT_ID=client_...
# --- Javalin example (authkit-javalin-example) reads .env directly. Optional overrides: ---
# PORT=7001
# BASE_URL=http://localhost:7001
# WORKOS_REDIRECT_URI=http://localhost:7001/callback
# --- Spring Boot example reads environment variables. Load this file with: set -a; source .env; set +a
# WORKOS_REDIRECT_URI=http://localhost:8080/auth/callback
# APP_FRONTEND_URL=http://localhost:8080/
# WORKOS_ORGANIZATION_ID=org_... # optional: force one org's SSO connection
# SERVER_PORT=8080