ali-bouali / spring-boot-3-jwt-security

Sample project on how to implement JWT security based using Spring boot 3 and Spring security 6
https://aliboucoding.com/p/securing-your-spring-boot-3-0-applications-with-json-web-tokens-jwt
Apache License 2.0
1.86k stars 870 forks source link

Updated JwtService.java to match hours #5

Closed AIski closed 1 year ago

AIski commented 1 year ago

updated JwtService.java generatetoken() method .setExpiration to be in hours instead of minutes