<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 21, 2014 at 6:14 AM, Philippe Marschall <span dir="ltr">&lt;<a href="mailto:philippe.marschall@gmail.com" target="_blank" class="vt-p">philippe.marschall@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>On Thu, Apr 17, 2014 at 9:37 PM, Mariano Martinez Peck<br>

&lt;<a href="mailto:marianopeck@gmail.com" target="_blank" class="vt-p">marianopeck@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; Sorry for the multiple list mail.<br>
&gt;<br>
&gt; I am analyzing the possibility to implement a API that requires OAuth. I<br>
&gt; have been reading this link from Sven:<br>
&gt; <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<br>
&gt; a few questions:<br>
&gt;<br>
&gt; 1) I get lost in the #handleOAuth1Callback:  part. I understand I need to<br>
&gt; provide to oauth a callback url so that this is call once the user has<br>
&gt; logged in. The thing is that Sven demo seems to be using a (RESTfull) server<br>
&gt; directly. In my case, this is a Seaside app. So...how should I do this? I<br>
&gt; guess I could create a WAComponent but then I should use Seaside rest or<br>
&gt; something? Because I need to map that url to the component (and implement<br>
&gt; handleRequest: in the component?).  Is there another way?<br>
<br>
</div>something like this may work:<br>
<br>
html callbacks store: (MyOAuthCallback on: [  ])<br>
<br></blockquote><div><br></div><div>Thanks Philippe. Sven pointed me to a Seaside example and indeed he does that:</div><div><br></div><div><div><span class="" style="white-space:pre">        </span>| callback url |</div><div>
<br></div><div><span class="" style="white-space:pre">        </span>callback := WAActionCallback on: [ self handleCallback ] .</div><div><span class="" style="white-space:pre">        </span>url := html actionUrl copy addField: (html callbacks store: callback).</div>
</div><div><br></div><div>Thanks guys. </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

Cheers<br>
<span><font color="#888888">Philippe<br>
</font></span><div><div>_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank" 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>