I am getting the same issue with my Angular/ PHP code. The PHP redirects incase of Session expiry. Hence browser shows 302 but the Angular code catches 200. How to fix this?