Azure / pcs-remote-monitoring-webui

Azure IoT PCS Remote Monitoring Web UI
MIT License
54 stars 72 forks source link

Get Auth Token in an Async way to resolve dashboard Oops error when idle #1147

Closed mechaffin closed 6 years ago

mechaffin commented 6 years ago

Type of change?

Description, Context, Motivation

Change handling of getting the auth token to be async. This should fix the "oops" errors that occur on the dashboard when left idle for a long period of time (and the token times out and gets refreshed).

Addresses: https://github.com/Azure/pcs-remote-monitoring-webui/issues/1079

Checklist:


This change is Reviewable