How to authenticate against SSO when using wget
Hi All,
I am writing a bash script where I would need to down load few file from server but the glitch is authentication is being performed by SSO/Siteminder server. Does anyone aware of a option or trick with wget or curl to authenticate against SSO and then download the file from the server. Standard http-user and http-password definitely does not suffice the need. |
I don't know how Siteminder authenticate his users, but there is a big chance it uses a POST method to do it.
wget or curls will not work because they can't handle HTTP/POST as a browser does. Try lynx. Based on another authenticated site, I developed a bash script to authenticate and download files. I hope it can help you as a starting point. Code:
USERNAME="myusername"; ### replace with your username ### |
All times are GMT -5. The time now is 05:23 AM. |