cityofaustin / atd-mobile-signals-work-orders

Mobile Signals Work Orders app using React UI with Knack API
https://mobile-signals.austintexas.io
Other
3 stars 1 forks source link

Log user out of app when credentials expire #209

Closed mddilley closed 5 years ago

mddilley commented 5 years ago

During pilot testing, technicians noticed Loading... appear forever in the New Work Order form Signals field. We realized that logging out/in resolved this issue (since the API requests were failing (403) in the background due to expired credentials).

Need to redirect the user to the login screen if their credentials are expired so that they are forced to log back in.