Skip to content

* Added a constant secret key#1

Open
kesrishubham2510 wants to merge 1 commit into
navinreddy20:mainfrom
kesrishubham2510:added_jwtKey
Open

* Added a constant secret key#1
kesrishubham2510 wants to merge 1 commit into
navinreddy20:mainfrom
kesrishubham2510:added_jwtKey

Conversation

@kesrishubham2510
Copy link
Copy Markdown

  • 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.

* Created a SourceConfig file
* Tweaked way of creating the secret key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant