<div dir="ltr">Hi guys,<div><br></div><div>Indeed, it was nothing strange what I seemed to need. The thing is that OAuth get&#39;s a bit complicated when you don&#39;t use the OAuth callbacks.</div><div>Sorry to bother you. It is working now!!! </div>
<div><br></div><div>Thanks!</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 30, 2014 at 3:19 PM, Johan Brichau <span dir="ltr">&lt;<a href="mailto:johan@inceptive.be" target="_blank">johan@inceptive.be</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Mariano,<br>
<br>
I must say I have a bit of difficulties to understand what control flow you are trying to achieve.<br>
But, as you mention, is this not just a two-step process then:<br>
- ask for the code in the app<br>
- do the redirect<br>
<br>
something like:<br>
<br>
anchor<br>
     callback:[ requestcode:= self call: InputDialogWindow. self requestContext redirectTo: (self oathService loginUrlFor: requestcode)];<br>
     with: &#39;login&#39;<br>
<br>
But I&#39;m probably missing something in your question as I have never used OAuth...<br>
<span class="HOEnZb"><font color="#888888">Johan<br>
</font></span><div class="im HOEnZb"><br>
On 29 Apr 2014, at 22:46, Mariano Martinez Peck &lt;<a href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>&gt; wrote:<br>
<br>
</div><div class="im HOEnZb">&gt;       self requestContext<br>
&gt;               redirectTo: (self oauthService loginUrlFor: requestToken) ;<br>
&gt;               respond.<br>
&gt;<br>
&gt; What happens here in my app, is that the browser redirects of course to the OAuth authorization server where I finally can see the verifier code. But...say I have to enter this code in my app...there is no way (as far as I understand) to map it to the (previously stored somewhere) request token. So I don&#39;t know which request token to use.<br>

&gt;<br>
&gt; So I think the only option is that the above redirect in fact opens another tab in the browser and that my seaside apps holds into the current request token. Somehow, I would like seaside to then ask for a verification code or something...<br>

<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">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">http://marianopeck.wordpress.com</a><br>
</div>