title: How can I do the Angular 4 app automatically redirect to external url when the response is a 302 status code?
body: <p>This is the scenario:</p>
  
  <p>I accessed the app. App try to perform a GET request to a sso.mydomain/authorization endpoint. This endpoint detect that a cookie is not present. So, sso.mydomain sends a 302 response, redirecting my app to another URL (sso.mydomain/login). </p>
  
  <p>Here, the fail occurs. Browser doesn't redirect to sso.mydomain/login - Angular perform a GET to sso.mydomain/login, like an API endpoint.</p>
  
  <p>I want that browser redirects to sso.mydomain/login. How can I do this? Why browser doesn't perform the redirection?</p>