Skip to content

Commit

Permalink
Update environment variable comments for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
xet-a committed Aug 25, 2024
1 parent fbecc95 commit e8af8f9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions backend/.env.development
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e8af8f9

Please sign in to comment.