Bluette1/horticultural-exchange

Refresh the user session when the the login expires

Opened this issue · 0 comments

Refresh the user session when the login expires

  • Currently, a logged user gets logged out when the token expires (in about 1 hour)
  • This issue needs to be investigated and fixed
  • We could create a function that automatically sends a request to the backend API to fetch a new token, whenever the user's session expires