SAML redirections need to be handled as 401 responses: authentication is not valid and the server wants a new session is authenticated; the URL in the 'Location' header needs to be loaded in a WebView to allow the user to authenticate again, but the current request does not have to be repeated to it.
@davivel, thanks for your PR! By analyzing the history of the files in this pull request, we identified @javiergonzper, @ggdiez and @nasli to be potential reviewers.
SAML redirections need to be handled as 401 responses: authentication is not valid and the server wants a new session is authenticated; the URL in the 'Location' header needs to be loaded in a WebView to allow the user to authenticate again, but the current request does not have to be repeated to it.