LucaStefan112 / MedConnect-Server

2 stars 1 forks source link

[Middleware] JWT Validation #11

Closed LucaStefan112 closed 1 year ago

LucaStefan112 commented 1 year ago

Create a JWT validation middleware for every request to the server. For the validation checker use the universal salt used by every team in order to have the ability to use the same valid token on every server. Discuss with the developers on the other teams about the used salt. The salt will be stored in a .env file that MUST NOT BE PUSHED TO THE REPO. This file will be passed to the developers in a safe way.