hdar88 / fullstack-web-application

Fullstack web application using Python/Django and React
0 stars 0 forks source link

error when being inactive and trying to access dashboard actions #53

Open hdar88 opened 1 month ago

hdar88 commented 1 month ago

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.