<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Autologin via POST]]></title><description><![CDATA[<p dir="auto">Hi.</p>
<p dir="auto">I would very much like to be able to log users into FOP2 automatically. Now i have tried and successfully used the method involving GET parameters, but i would really like to hide the username and password from the URL and do the login through a form POST instead. I did try submitting the login credentials through a post, with no luck.</p>
]]></description><link>http://localhost:4567/topic/878/autologin-via-post</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 11:02:52 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/878.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 05 Sep 2011 11:40:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Autologin via POST on Fri, 16 Sep 2011 10:11:22 GMT]]></title><description><![CDATA[<p dir="auto">Thank you, i am looking forward to the next release then <img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
]]></description><link>http://localhost:4567/post/3889</link><guid isPermaLink="true">http://localhost:4567/post/3889</guid><dc:creator><![CDATA[ttolst]]></dc:creator><pubDate>Fri, 16 Sep 2011 10:11:22 GMT</pubDate></item><item><title><![CDATA[Reply to Autologin via POST on Wed, 14 Sep 2011 11:35:45 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Your suggestion seems utterly complicated to implement. I have tested the <a href="http://window.name" rel="nofollow ugc">window.name</a> and works perfectly well, I have already implemented it on 'trunk'... you will see the feature in the next release. The login form should set the <a href="http://window.name" rel="nofollow ugc">window.name</a> on submit, here is a silly sample:</p>
<pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;
&lt;title&gt;test&lt;/title&gt;
&lt;script&gt;
function setLogin(value){
    window.name=value;
    window.location='index.html';
}
&lt;/script&gt;  
&lt;/head&gt;

&lt;body&gt;
&lt;form id="form1" name="form1" method="post" action=""&gt;
  &lt;select name="select" onchange="setLogin(this.value)"&gt;
     &lt;option&gt;seleccionar&lt;/option&gt;
    &lt;option value="&amp;exten=100&amp;pass=qwop"&gt;Login with 100&lt;/option&gt;
    &lt;option value="&amp;exten=101&amp;pass=qwop"&gt;Login with 101&lt;/option&gt;
  &lt;/select&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
]]></description><link>http://localhost:4567/post/3888</link><guid isPermaLink="true">http://localhost:4567/post/3888</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 14 Sep 2011 11:35:45 GMT</pubDate></item><item><title><![CDATA[Reply to Autologin via POST on Wed, 14 Sep 2011 08:39:43 GMT]]></title><description><![CDATA[<p dir="auto">Hi.</p>
<p dir="auto">Any method that will remove the login credentials from the URL will be super <img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
<p dir="auto">An alternative solution could be to make it possible to do the password check manually in the perl module, that way i could use the password field as a session hash and handle the session setup and expiry in my backend.</p>
]]></description><link>http://localhost:4567/post/3887</link><guid isPermaLink="true">http://localhost:4567/post/3887</guid><dc:creator><![CDATA[ttolst]]></dc:creator><pubDate>Wed, 14 Sep 2011 08:39:43 GMT</pubDate></item><item><title><![CDATA[Reply to Autologin via POST on Thu, 08 Sep 2011 12:50:25 GMT]]></title><description><![CDATA[<p dir="auto">Unfortunately it will not be possible to use POST for auto login, but I can implement the usage of <a href="http://window.name" rel="nofollow ugc">window.name</a> to pass information between a login form and the fop2 app itself, so you will not be seeing sensitive information on the url, but you will also need to set the <a href="http://window.name" rel="nofollow ugc">window.name</a> accordingly instead of using a simple post form.</p>
]]></description><link>http://localhost:4567/post/3886</link><guid isPermaLink="true">http://localhost:4567/post/3886</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 08 Sep 2011 12:50:25 GMT</pubDate></item><item><title><![CDATA[Reply to Autologin via POST on Wed, 07 Sep 2011 18:15:52 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the feedback.</p>
<p dir="auto">I will investigate if possible, and if its possible will include it on the next release.</p>
]]></description><link>http://localhost:4567/post/3885</link><guid isPermaLink="true">http://localhost:4567/post/3885</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 07 Sep 2011 18:15:52 GMT</pubDate></item></channel></rss>