If you open/refresh protected page with expired token (server return 401 on refresh user) there will be two redirects to auth page - one from http interceptor _processLogout (with default invalidToken method) and another from _processTransitionEach 401 handler.
Because of this redirect state will be cleared on second redirect and you can not return to protected page after login.
If you open/refresh protected page with expired token (server return 401 on refresh user) there will be two redirects to auth page - one from http interceptor
_processLogout
(with defaultinvalidToken
method) and another from_processTransitionEach
401 handler. Because of this redirect state will be cleared on second redirect and you can not return to protected page after login.