-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathenv.example
More file actions
31 lines (22 loc) · 1.01 KB
/
env.example
File metadata and controls
31 lines (22 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Clerk M2M Integration Test Configuration
# Copy this file to .env and fill in your test credentials
# Required: Your Clerk secret key (starts with sk_test_ or sk_live_)
CLERK_SECRET_KEY=sk_test_your_secret_key_here
# Optional: JWT Key for session token verification (if testing hybrid scenarios)
CLERK_JWT_KEY=
# Optional: API URL (defaults to https://api.clerk.com if not specified)
CLERK_API_URL=https://api.clerk.com
# For M2M Testing - Real tokens from your test environment
# Machine Token (starts with mt_)
CLERK_MACHINE_TOKEN=mt_your_machine_token_here
# OAuth Access Token (starts with oat_)
CLERK_OAUTH_TOKEN=oat_your_oauth_token_here
# API Key (starts with ak_)
CLERK_API_KEY=ak_your_api_key_here
# Session Token (JWT) for hybrid testing
CLERK_SESSION_TOKEN=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9...
# Optional: Test configuration
CLERK_TEST_AUDIENCE=test-api
CLERK_TEST_AUTHORIZED_PARTY=http://localhost:3000
# Set to true to enable integration tests that make real API calls
ENABLE_REAL_INTEGRATION_TESTS=true