UW-Madison-DoIT/angularjs-portal — pull request #14 by timlevett (2014-10-06 00:52:42+00:00)
Title: MUMUP-1177 : Redirect on unauthenticated sessions

If we try to hit /portal/api/* on a shib protected it throws a 302 for shib. This then runs the error function for the promise. We are handling this by redirecting to /portal/Login (for 302's only). If there is another error, it logs a warn to the console with who through it.

Eventually I think it would be neat to have a modal shib login or something, but this will do for beta 1.