freshkitedev / Freshkite_Project

0 stars 6 forks source link

Update-refresh-token-feature #16

Open hemareddy-bit opened 1 week ago

hemareddy-bit commented 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.