janrain/angular-janrainsso — pull request #2 by joebadmo (2014-01-10 21:43:33+00:00)
Title: fixed incorrect promise resolution

On 401 error, the get session promise should never resolve as the sso
javascript will do a hard redirect on the page. Resolving the promise
provides undefined result to the promise's consumer, propagating errors
down the promise chain, resulting in a flash of error page and js
console errors.

joe/topic/JI-487-race-condition