Skip to content

Commit 309580b

Browse files
committed
Add Default JWT Secret Strings
To generate your own, use `openssl rand -hex 32`
1 parent 1ef8c00 commit 309580b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

backend/matching-service/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RELAXATION_INTERVAL=3000
1818
MATCH_TIMEOUT=30000
1919
CLEANUP_INTERVAL=75000
2020

21-
JWT_ACCESS_TOKEN_SECRET=<your-jwt-accecss-token>
21+
JWT_ACCESS_TOKEN_SECRET=d2636f0c0ce9119c4aca178220a3a5a7bba0e5f6dffa982f8095f5b566162029
2222

2323
# Copy root .env
2424
# If using mongoDB containerization, set to true. Else set to false (i.e local testing)

backend/question-service/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ PORT=3002
77
# Initialize data from questions.json
88
POPULATE_DB=true
99

10-
JWT_ACCESS_TOKEN_SECRET=<your-jwt-accecss-token>
10+
JWT_ACCESS_TOKEN_SECRET=d2636f0c0ce9119c4aca178220a3a5a7bba0e5f6dffa982f8095f5b566162029
1111

1212
# Kafka configuration
1313
KAFKA_HOST=localhost

backend/user-service/.env.example

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ DB_CLOUD_URI=<your-cloud-mongodb-uri>
1111
ENV=production
1212

1313
# Secrets for creating JWT signatures
14-
JWT_ACCESS_TOKEN_SECRET=<your-jwt-access-token-secret>
15-
JWT_REFRESH_TOKEN_SECRET=<your-jwt-refresh-token-secret>
16-
JWT_RESET_TOKEN_SECRET=<your-jwt-reset-token-secret>
14+
JWT_ACCESS_TOKEN_SECRET=d2636f0c0ce9119c4aca178220a3a5a7bba0e5f6dffa982f8095f5b566162029
15+
JWT_REFRESH_TOKEN_SECRET=65863c16dc76d23f06668c12b9223f93cb25f4f2c9f0919ba3330000abaa9253
16+
JWT_RESET_TOKEN_SECRET=70468fdf0966eaf0769cbd17f3348cf3debd9a47ac8b85dbee9aff3ebd5d074c
1717

1818
# If using mongoDB containerization, set to true. Else set to false (i.e local testing)
1919
DB_REQUIRE_AUTH=true

0 commit comments

Comments
 (0)