-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Handling redirects with auth parameter? #1469
Comments
@CasperWSchmidt it's a warning for the future change. The |
@alexeyzimarev I know it's a warning for the future, thats why I don't like to be dependent on that property - it might be removed in the next release :) What I need to accomplish is, using OAuth 2, to re-add credentials to the request when following a redirect. We have a POST end-point for searching that returns a 307 (IIRC) for the client to follow for the result of the search. All endpoints are secured using OAuth. I know this is disabled by default for security reasons, but our RestSharp helper-class is only used to call internal REST APIs. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
@alexeyzimarev any ideas how to solve the problem mentioned above? |
I don't know to be honest since RestSharp is just a convenience wrapper around the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
In #414 a possible fix for handling auth parameters on redirects is suggested. The IRestRequest.Credentials property are marked as obsolete however. So I'm wondering how this could/should be handled these days?
The text was updated successfully, but these errors were encountered: