mycookbook / web-client

cookbookshq frontend
https://web.cookbookshq.com
Other
1 stars 1 forks source link

Auth Middleware #50

Closed KayceeSamuel closed 1 year ago

KayceeSamuel commented 1 year ago

What does this PR do?

  1. The auth middleware verifies the user token for all requests that require a token.
  2. Logs user out if the response from the server is 401
  3. Proceeds with the request otherwise
fokosun commented 1 year ago

Closing this, branch was renamed see #60