-
Notifications
You must be signed in to change notification settings - Fork 283
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
check_http: save cookies over redirect #1423
Comments
This would be very useful. |
Seems like the original patch from 2003 was broken already. If somebody wants to look into |
Dears, Can we update check_http to support cookies? specially for SSO redirects? thank you! |
for check_curl I see an easy way to do it with CURLOPT_COOKIEFILE, CURLOPT_COOKIEJAR. Doing it in check_http would require to implement that. Cookies can be given directly with the -k/--header flag, but I think what you want here |
Hello Adnreas, Thank you for your prompt-reply, I have tried this option:
if I use curl for example with the following parameter:
I land on the login page. |
-k sets HTTP Headers, so the syntax is |
My whole point is to arrive to the landing idp authentication page. |
That would be an awesome new feature!
Could be with a parameter, e.g. |
I think something like this would be handy f6978de Just all the Also maybe we should also add a option for https://curl.se/libcurl/c/CURLOPT_COOKIE.html |
Atm check_http just ignores cookies. This leads to not being able to follow a redirect in an application setting a JSESSION_ID cookie.
curl can be told to keep the cookie while redirecting using the "--cookie" option. Something similar would be nice for check_http
The text was updated successfully, but these errors were encountered: