example-restclient-myworkapp-nodejs
example-restclient-myworkapp-nodejs copied to clipboard
Redirect to login page on unrecoverable error
Any error that requires the user to login again should automatically redirect to the login page and display the error message on that page.
Errors that should redirect:
- 401 unauthorized
- Task tracker update set not installed
- Anytime session is no longer valid and requires relogin