Skip to content

Don't test received cookie with POST when there are no parameters

Petr Vokac requested to merge vokac/cern-get-sso-cookie:master into master

One of our website recently configured added behind SSO doesn't like POST request that is used in to test obtained cookie. I added to the test code inspired by that use GET vs. POST depending on non-empty formdata dictionary. I have no idea if this update works with each CERN SSO web but at least for our website this update works fine (we'll probably get rid of this elog web in near future so please consider if it makes sense to include this update in normal cern-get-sso-cookie package).

Merge request reports