Impact
-> Having a constant secret Key will allow the previously generated JwtToken to be useful until they expire.
Current Behaviour
-> Since, we are generating the SecretKey every time using KeyGenerator, the keys previously generated will be of no use once the server restarts.
Created a SourceConfig file
Tweaked way of creating the secret key
Impact -> Having a constant secret Key will allow the previously generated JwtToken to be useful until they expire.
Current Behaviour -> Since, we are generating the SecretKey every time using KeyGenerator, the keys previously generated will be of no use once the server restarts.