Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authorize header not sent on iOS when following redirect #143

Open
SimonSimCity opened this issue Apr 28, 2015 · 3 comments
Open

Authorize header not sent on iOS when following redirect #143

SimonSimCity opened this issue Apr 28, 2015 · 3 comments

Comments

@SimonSimCity
Copy link

Today, I got an error when I tried to send a request, that redirected me to a different path on the same domain. Both of these requests require the Authorization header to be set to the same value.

It currently seems, that the header is not set on the second request.

I could confirm, that this works for Android, but fails on iOS.

I was neither able to disable the AllowAutoRedirect property to handle it manually, nor did the client send the value if I set it as default header ...

Any hints of how to accomplish this? Currently I've found another way to get to that URL, but I want to use that redirect to be more flexible in my application ...

@Cheesebaron
Copy link
Contributor

Might be related to this: #142

I wonder what newRequest has as headers here: Tableau-David-Potter@161f6bb#diff-9885b3e85dcbedb5c18428dac5f592fdR312

@SimonSimCity
Copy link
Author

I also found #126 ... But that would only enable the work-around for me, not fix the initial problem I face here 😉

@SimonSimCity
Copy link
Author

@Cheesebaron How can I check if #142 solved my problem?

@SimonSimCity SimonSimCity changed the title Authorize header not sent on iOS when following redirect Authorize header not sent when following redirect Dec 14, 2016
@SimonSimCity SimonSimCity changed the title Authorize header not sent when following redirect Authorize header not sent on iOS when following redirect Dec 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants