Closed karppinen closed 8 years ago
+1. I need this in order to detect and handle cases where the identity server is down/not responding.
@karppinen if you could resolve the merge conflicts, this will probably be merged faster. =)
Yep, this is on my radar. I'll get to it as soon as I can. And yea, it'd be a great help if you could resolve those conflicts. thx.
Given the merge issues, I did it manually. Also, I did the same for redirectForLogout
. Done on dev, will release shortly.
Return promise from
TokenManager.prototype.redirectForToken
so that the client can handle any error that may occur.This allows a client showing a loading spinner to remove it if an error occurs in
TokenManager.prototype.redirectForToken
.