I get the above error(401 unauthorised) on making a http post request to a server. I find many online sources suggesting to intercept it and make my own login interface but I would like to use the browser's default login interface for basic auth.
How could one pop up the browser's default basic auth dialog on receiving 401 unauthorised status in angular2 instead of just logging it as an error?