From e8af8f90c348776a828106dc6017e7ced1176a6d Mon Sep 17 00:00:00 2001 From: xet-a Date: Sun, 25 Aug 2024 12:05:31 +0900 Subject: [PATCH] Update environment variable comments for clarity --- backend/.env.development | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/.env.development b/backend/.env.development index f69cbda4..149d2296 100644 --- a/backend/.env.development +++ b/backend/.env.development @@ -14,10 +14,12 @@ GITHUB_CLIENT_SECRET=your_github_client_secret_here # Example: http://localhost:3000/auth/login/github (For development mode) GITHUB_CALLBACK_URL=http://localhost:3000/auth/login/github -# JWT_AUTH_SECRET: Secret key for JWT authentication. -# This key is used to sign and verify JWT tokens. +# JWT_ACCESS_TOKEN_SECRET: Secret key for signing and verifying access tokens. +# JWT_ACCESS_TOKEN_EXPIRATION_TIME: Expiration time for access tokens in seconds. JWT_ACCESS_TOKEN_SECRET=you_should_change_this_secret_key_in_production JWT_ACCESS_TOKEN_EXPIRATION_TIME=86400 +# JWT_REFRESH_TOKEN_SECRET: Secret key for signing and verifying refresh tokens. +# JWT_REFRESH_TOKEN_EXPIRATION_TIME: Expiration time for refresh tokens in seconds. JWT_REFRESH_TOKEN_SECRET=you_should_change_this_secret_key_in_production JWT_REFRESH_TOKEN_EXPIRATION_TIME=604800