<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body smarttemplateinserted="true">
<div id="smartTemplate4-template">
<div id="smartTemplate4-template">Hi,<br>
<br>
<p> </p>
<blockquote type="cite">
<pre wrap="">You need to research SAML fully (There's some stuff in Wikipedia which AIUI were heavily edited by one of the contributors to this list) and read and understand the standards (they are all up on oasis-open.org) Use a Shibboleth SP and IdP to help your understanding. If you really want a non-browser profile you need to consider ECP.</pre>
</blockquote>
<p><br>
</p>
<p>Woah, so many abbreviations<br>
<br>
</p>
<p>I was more looking for the HTML generated by the most popular
Shibboleths. i do not need to understand what it means.
Wikipedia shows a <form> element with SAMLResponse and
RelayState <input>, that is good, but I have seen it
already.<br>
</p>
<p>An _eventId_proceed input element is also very popular. Most
Shibboleths I looked at have an _eventId_proceed and fail
without it, even though it has an empty value.<br>
</p>
<p><br>
</p>
I just realized I was only using input elements to build the
request, not considering how the form was submitted.<br>
There is at least one Shibboleth that has a <button
name="_eventId_proceed" .../> in the HTML. Now I search for
that button, too, might fix my problem, but I cannot know.<br>
<br>
One can also create submit buttons using <input
type="image">. Does anyone use that with Shibboleth? <br>
<br>
<blockquote type="cite">
<pre wrap="">Rod's question is spot
on: What are trying to do?</pre>
</blockquote>
Full disclosure: I wrote an app VideLibri that scrapes the
webpage of libraries to show the lend books and warn about the
due date. Late fees can become really expensive when you return
the books too late.<br>
<br>
Some university libraries have two separate logins, one for
non-students and one for students that redirects to the
Shibboleth of the university.<br>
<br>
I can login with a non-student account (at some libraries) and
see that everything works perfectly, but the students say they
cannot login and I must fix it. The library says they do not
want an app and will not help. And the university has not
replied at all, yet.<br>
<br>
<blockquote type="cite"><br>
<br>
FWIW people in our Uni use phantomjs to script Shibboleth IdP
-logins to various services for monitoring purposes.</blockquote>
<br>
I think such a framework is too heavy. Mobile apps need to use
minimal resources. I already wrote a small HTML parser for this,
now I just need to find the HTML.<br>
<br>
Cheers,<br>
Benito </div>
</div>
<br>
<br>
<br>
<div class="moz-cite-prefix">Am 30.04.2018 um 09:12 schrieb Timo
Tunturi:<br>
</div>
<blockquote type="cite"
cite="mid:ac18f99b-042b-2c8c-1b9d-5154aa9b0980@aalto.fi">On
29/04/2018 1.59, Benito van der Zander wrote:
<br>
<blockquote type="cite">when you are a user of a website using
Shibboleth, the login is straightforward. You click the login
button on the website in the browser, are redirected to
Shibboleth, enter your login data, and are then redirected back
to the webpage.
<br>
<br>
But I would like to automate that login without a browser,
almost like in a bash script.
<br>
</blockquote>
<br>
FWIW people in our Uni use phantomjs to script Shibboleth IdP
-logins to various services for monitoring purposes. I have not
done any work with phantomjs so I cannot give you any more details
about that.
<br>
<br>
Timo Tunturi / Aalto University IT Services
<br>
</blockquote>
<br>
</body>
</html>