Open hemareddy-bit opened 1 week ago
Added environment variables for JWT_SECRET and REFRESH_TOKEN_SECRET to securely manage token secrets.
Updated configuration file to read token secrets from environment variables, improving security by avoiding hardcoded values.
Modified token handling in services to use the new refreshTokenSecret configuration for creating and validating refresh tokens.
Added environment variables for JWT_SECRET and REFRESH_TOKEN_SECRET to securely manage token secrets.
Updated configuration file to read token secrets from environment variables, improving security by avoiding hardcoded values.
Modified token handling in services to use the new refreshTokenSecret configuration for creating and validating refresh tokens.