diff --git a/js/issuer.js b/js/issuer.js index 6d39256..681b1d8 100644 --- a/js/issuer.js +++ b/js/issuer.js @@ -362,7 +362,13 @@ $(function () { function handleAuthorizationDialog() { return getSession(CONFIG.host).then(function (session) { return getGrants(session); - }).catch(function () { + }).catch(function (e) { + if(e) { + console.error( + "Error authing current session. Requiring re-login. Message: " + , e.message + ); + } // TODO select the providers the client wants to show // providers=daplie.com,facebook.com,google.com // etc // TODO let the client specify switch_user