owncloud / ios-library

MIT License
77 stars 90 forks source link

Prevent to follow SAML redirections #146

Closed davivel closed 7 years ago

davivel commented 7 years ago

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.

mention-bot commented 7 years ago

@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.