after a certain period of time, the user needs to re-login, but still see the dashboard. When trying to execute any action, e.g. create note, delete, etc. an error occurs which says user is unauthorized
Therefore, when the ACCESS_TOKEN is invalid, redirect the user to the login.
after a certain period of time, the user needs to re-login, but still see the dashboard. When trying to execute any action, e.g. create note, delete, etc. an error occurs which says user is unauthorized
Therefore, when the ACCESS_TOKEN is invalid, redirect the user to the login.