jimdigriz / oauth2-worker

A Web Worker to handle OAuth2 authentication flows suitable for use with in Single Page Application (SPA) by storing tokens outside of the main JavaScript Window Global scope.
Apache License 2.0
0 stars 0 forks source link

silent discovery failures #5

Open jimdigriz opened 4 years ago

jimdigriz commented 4 years ago

When we error on the discovery document for any reason, the application is completely unaware and will just stall; the only way to see there was an error is to look at the JavaScript console.

jimdigriz commented 4 years ago

we now send a 'status' message if there is a problem, though the OAuth2 class treats it as an orphan