<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Apr 20, 2014 at 10:40 PM, Esteban A. Maringolo <span dir="ltr">&lt;<a href="mailto:emaringolo@gmail.com" target="_blank" class="vt-p">emaringolo@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If I understood correctly what Mariano needs is server side OAuth.<br>
<br>
I might need this too, because to properly integrate managed accounts<br>
in Android, you must have something very similar to OAuth (tokens,<br>
etc.)<br>
<br>
Otherwise hello.js for the browser will work, and Zinc&#39;s SSO to access<br>
an API using Smalltalk.<br><br></blockquote><div><br></div><div>Actually, I need client-side OAuth. I checked hello.js but the server that provides me the API and that requires OAuth is NOT a social network or whatever. Is not listed in the supported servers from hello.js. So I don&#39;t know...maybe it is easier to use Zinc&#39;s SSO.  In fact, as Sven pointed out, there is a nice example of SSO and Seaside! </div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Esteban A. Maringolo<br>
<br>
<br>
2014-04-17 16:50 GMT-03:00 Sven Van Caekenberghe &lt;<a href="mailto:sven@stfx.eu" class="vt-p">sven@stfx.eu</a>&gt;:<br>
<div class="HOEnZb"><div class="h5">&gt; There is a Seaside example (look in the repository) and even a live demo: <a href="http://sso.doit.st" target="_blank" class="vt-p">http://sso.doit.st</a><br>
&gt;<br>
&gt; On 17 Apr 2014, at 21:37, Mariano Martinez Peck &lt;<a href="mailto:marianopeck@gmail.com" class="vt-p">marianopeck@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; Sorry for the multiple list mail.<br>
&gt;&gt;<br>
&gt;&gt; I am analyzing the possibility to implement a API that requires OAuth. I have been reading this link from Sven: <a href="https://github.com/svenvc/docs/blob/master/zinc/zinc-sso-paper.md" target="_blank" class="vt-p">https://github.com/svenvc/docs/blob/master/zinc/zinc-sso-paper.md</a> and I have a few questions:<br>

&gt;&gt;<br>
&gt;&gt; 1) I get lost in the #handleOAuth1Callback:  part. I understand I need to provide to oauth a callback url so that this is call once the user has logged in. The thing is that Sven demo seems to be using a (RESTfull) server directly. In my case, this is a Seaside app. So...how should I do this? I guess I could create a WAComponent but then I should use Seaside rest or something? Because I need to map that url to the component (and implement handleRequest: in the component?).  Is there another way?<br>

&gt;&gt;<br>
&gt;&gt; 2) #loginUrlFor:  seems to only set &#39;oauth_token&#39;  however, my protocol says the url should be:  <a href="https://whatever/authorize?key={oauth_consumer_key}&amp;token={oauth_token}" target="_blank" class="vt-p">https://whatever/authorize?key={oauth_consumer_key}&amp;token={oauth_token}</a><br>

&gt;&gt; would that still work or I should adapt it?<br>
&gt;&gt;<br>
&gt;&gt; 3) Does anyone tested the mention code/repository in GemStone?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Thanks in advance,<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Mariano<br>
&gt;&gt; <a href="http://marianopeck.wordpress.com" target="_blank" class="vt-p">http://marianopeck.wordpress.com</a><br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; seaside mailing list<br>
&gt;&gt; <a href="mailto:seaside@lists.squeakfoundation.org" class="vt-p">seaside@lists.squeakfoundation.org</a><br>
&gt;&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank" class="vt-p">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; seaside mailing list<br>
&gt; <a href="mailto:seaside@lists.squeakfoundation.org" class="vt-p">seaside@lists.squeakfoundation.org</a><br>
&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank" class="vt-p">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" class="vt-p">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank" class="vt-p">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank" class="vt-p">http://marianopeck.wordpress.com</a><br>
</div></div>