Hello-World-Software-Studios / calculator

Carpenter's tool for wall layout
0 stars 1 forks source link

Stretch Goal: Finish authorization/authentication #58

Closed ecumene closed 3 years ago

ecumene commented 3 years ago

To do this:

JPM709 commented 3 years ago

jwt stored in local storage for simplicity, however stored in a cookie would be optimal for production build. userID contained in jwt can be decoded at endpoints to query API. jwt included in all API request headers, where authorization mddleware checks validity.