<html><head></head><body><div class="ydp4738c0fyahoo-style-wrap" style="font-family:lucida console, sans-serif;font-size:13px;"><div></div>
        <div><span>Problem is caused by a seven year old method that used a window.location.href= to gather device characteristics, like screen size and touch support. Removing that href fixes the problem with iOS. Lots of other & cleaner ways to get the data. </span><br></div><div><br></div>
        
        </div><div id="yahoo_quoted_9754066841" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Tuesday, August 2, 2022, 03:23:05 p.m. EDT, Bob Nemec <bobn@rogers.com> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv1234992836"><div><div style="font-family:lucida console, sans-serif;font-size:13px;" class="yiv1234992836ydp9439dfa1yahoo-style-wrap"><div></div>
        <div dir="ltr">Posted this on Discord (fwiw: I'd really like to see us have this question / answer content on stack overflow).</div><div dir="ltr"><br clear="none"></div><div dir="ltr"><span>However, redirectToContinuation: is sent after a callback, not after the Azure redirect. And removing the default application entry in WARenderPhaseContinuation>>processRendering: does not make a difference. It is the post-Azure initialRequest redirect that I have not been able to find. Still digging.</span><br clear="none"></div><div><br clear="none"></div>
        
        </div><div id="yiv1234992836yahoo_quoted_0355994640" class="yiv1234992836yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div id="yiv1234992836yqt57121" class="yiv1234992836yqt6199054490"><div>
                    On Tuesday, August 2, 2022 at 02:53:39 p.m. EDT, Bob Nemec <bobn@rogers.com> wrote:
                </div>
                <div><br clear="none"></div>
                <div><br clear="none"></div>
                <div><div id="yiv1234992836"><div><div style="font-family:lucida console, sans-serif;font-size:13px;" class="yiv1234992836ydp93a01003yahoo-style-wrap"><div></div>
        <div dir="ltr">To clarify, I do see the 302 redirect being set, but what I can't see is any material difference in the response content. I am trying to see if not coding the default application in the URL will satisfy iOS, since it is only the default app that is having the issue. So <a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://ourapplication.com/appname?s_...">https://ourapplication.com/appname?s_...</a> vs. <a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://ourapplication.com/?s_...">https://ourapplication.com/?s_...</a> Not looking at it as as fix, but curious to see if it makes a difference.</div><div dir="ltr"><br clear="none"></div><div dir="ltr"><div><div>- WACallbackProcessingActionContinuation>>redirectToContinuation:</div><div>- WAResponse>>redirectTo:<br clear="none"></div><div dir="ltr">- <span>WAResponse>>found --> <span>self status: WAResponse statusFound </span></span></div><div>- WAResponse statusFound = 302</div></div><br clear="none"></div><div><br clear="none"></div>
        
        </div><div id="yiv1234992836yahoo_quoted_0133749554" class="yiv1234992836yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div id="yiv1234992836yqt20545" class="yiv1234992836yqt4079441512"><div>
                    On Tuesday, August 2, 2022 at 02:26:08 p.m. EDT, Bob Nemec <bobn@rogers.com> wrote:
                </div>
                <div><br clear="none"></div>
                <div><br clear="none"></div>
                <div><div id="yiv1234992836"><div><div style="font-family:lucida console, sans-serif;font-size:13px;" class="yiv1234992836ydp6d3473eyahoo-style-wrap"><div></div>
        <div><br clear="none"></div><div dir="ltr">Hey Karsten,</div><div dir="ltr">Trying to find the difference between the two responses is where I stuck now: from what I can see they are the same... the normal expected rendered content in each case. Just that in the iOS example, the Seaside redirect that answers the content does not happen. </div><div dir="ltr"><br clear="none"></div><div dir="ltr">And it is also where my Seaside internal knowledge stops: I do not yet know how Seaside triggers each render redirect. I thought it answered a 302 response, but the content I trace shows a 200 / OK response. Once I understand how the redirect is code, I figure I can try changes to make iOS happy.</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Bob</div>
        
        </div><div id="yiv1234992836yqt53440" class="yiv1234992836yqt1965674331"><div id="yiv1234992836yahoo_quoted_0028364632" class="yiv1234992836yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Tuesday, August 2, 2022 at 10:31:36 a.m. EDT, Karsten Kusche <karsten@heeg.de> wrote:
                </div>
                <div><br clear="none"></div>
                <div><br clear="none"></div>
                <div><div id="yiv1234992836">

 
<style>#yiv1234992836    body{font-family:Helvetica, Arial;font-size:13px;}</style>

<div>
<div style="font-family:Helvetica, Arial;font-size:13px;">Hi Bob,</div>
<div style="font-family:Helvetica, Arial;font-size:13px;"><br clear="none">
</div>
<div style="font-family:Helvetica, Arial;font-size:13px;">what’s the content produced by the render-phase that’d initiate the following callback-phase?</div>
<div><br clear="none">
</div>
Kind Regards
<div>Karsten<br clear="none">
<div class="yiv1234992836gmail_signature">
<div>— </div>
<div><br clear="none">
<span style="white-space:pre-wrap;font-family:-apple-system;font-size:14px;">Georg Heeg eK</span></div>
<div>
<div style="font-family:-apple-system;font-size:14px;" class="yiv1234992836gmail_signature yiv1234992836amz_quote_hidden">
<pre style="white-space:pre-wrap;word-wrap:break-word;">Wallstraße 22
06366 Köthen

Tel.: 03496/214328
FAX: 03496/214712
Amtsgericht Dortmund HRA 12812</pre>
<div><br clear="none">
</div>
</div>
</div>
</div>
<br clear="none">
<p class="yiv1234992836airmail_on">Am 2. August 2022 um 15:40:47, Bob Nemec (<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:bobn@rogers.com" target="_blank" href="mailto:bobn@rogers.com">bobn@rogers.com</a>) schrieb:</p>
<blockquote type="cite" class="yiv1234992836clean_bq"><span>
</span><div>
<div></div>
<div>
<div style="font-family:lucida console, sans-serif;font-size:13px;" class="yiv1234992836ydp5d34f259yahoo-style-wrap">
<div></div>
<div dir="ltr"><span>fwiw: looking at WARenderPhaseContinuation>>processRendering: I see the same content for both the iOS and Windows initial request. And I see that with iOS the following WACallbackProcessingActionContinuation does not
 happen, as it does with Windows... that's where I'm stuck.</span><br clear="none">
</div>
<div dir="ltr"><span><br clear="none">
</span></div>
<div dir="ltr"><span>Bob</span></div>
<div><br clear="none">
</div>
</div>
<div id="yiv1234992836yahoo_quoted_9856867607" class="yiv1234992836yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>On Saturday, July 30, 2022 at 11:00:00 a.m. EDT, Bob Nemec <bobn@rogers.com> wrote:
</div>
<div><br clear="none">
</div>
<div><br clear="none">
</div>
<div>
<div id="yiv1234992836">
<div>
<div style="font-family:lucida console, sans-serif;font-size:13px;" class="yiv1234992836ydpc587fd8cyahoo-style-wrap">
<div></div>
<div dir="ltr">Thanks... I set up to do the debugging, and it turns out that the problem also happens with Safari on a mac (but not Chrome). That makes it easier to work with. On an iPhone and iPad the problem happens with any browser. </div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr">Bob </div>
<div dir="ltr"><br clear="none">
</div>
<div><br clear="none">
</div>
</div>
<div id="yiv1234992836yqt14034" class="yiv1234992836yqt6134072332">
<div id="yiv1234992836yahoo_quoted_9780766574" class="yiv1234992836yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>On Saturday, July 30, 2022 at 10:18:13 a.m. EDT, Karsten Kusche <karsten@heeg.de> wrote:
</div>
<div><br clear="none">
</div>
<div><br clear="none">
</div>
<div>
<div id="yiv1234992836">
<div>
<div style="font-family:Helvetica, Arial;font-size:13px;">Hi Bob,</div>
<div style="font-family:Helvetica, Arial;font-size:13px;"><br clear="none">
</div>
<div style="font-family:Helvetica, Arial;font-size:13px;">when you plug your iOS device into a USB cable and connect it to a mac, then you can go to Mac-Safari -> debug menu -> 3rd or 4th entry in the menu should be the name of your device. There you can open
 the debugger on a tab of your iOS Safari and debug everything from the Browser side.</div>
<div style="font-family:Helvetica, Arial;font-size:13px;"><br clear="none">
</div>
<div style="font-family:Helvetica, Arial;font-size:13px;">Maybe it helps already.</div>
<div style="font-family:Helvetica, Arial;font-size:13px;"><br clear="none">
</div>
<div style="font-family:Helvetica, Arial;font-size:13px;">Kind Regards</div>
<div style="font-family:Helvetica, Arial;font-size:13px;">Karsten</div>
<br clear="none">
<div class="yiv1234992836gmail_signature">
<div>— </div>
<div><br clear="none">
<span style="white-space:pre-wrap;font-family:-apple-system;font-size:14px;">Georg Heeg eK</span></div>
<div>
<div style="font-family:-apple-system;font-size:14px;" class="yiv1234992836gmail_signature yiv1234992836amz_quote_hidden">
<pre style="white-space:pre-wrap;word-wrap:break-word;">Wallstraße 22
06366 Köthen

Tel.: 03496/214328
FAX: 03496/214712
Amtsgericht Dortmund HRA 12812</pre>
<div><br clear="none">
</div>
</div>
</div>
</div>
<br clear="none">
<p class="yiv1234992836airmail_on">Am 30. Juli 2022 um 15:59:56, Bob Nemec (<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:bobn@rogers.com" target="_blank" href="mailto:bobn@rogers.com">bobn@rogers.com</a>) schrieb:</p>
<blockquote type="cite" class="yiv1234992836clean_bq"><span></span>
<div>
<div></div>
<div>
<div id="yiv1234992836yqt57178" class="yiv1234992836yqt1347953698">
<div style="font-family:lucida console, sans-serif;font-size:13px;" class="yiv1234992836yahoo-style-wrap">
<div dir="ltr">
<div>
<div>We're having a problem with physical iOS devices (works fine on Chrome virtual device) where a final Seaside redirect is not happening after an Azure SSO redirect. </div>
<div>I'd like to understand what triggers the Seaside redirect: I can see it in normal rendering, but I've never had to dig into it like this before. </div>
<div><br clear="none">
</div>
<div>When I log from a non-iOS device I see...</div>
<div>1: WAApplication>>handleFiltered: application URL</div>
<div>  - self requestContext redirectTo: 'https://login.microsoftonline.com/...' </div>
<div>  - redirects back to our app URL with an access token</div>
<div>2: WAApplication>>handleFiltered: application URL with MS access token & no _s & _k values </div>
<div>  - validate token with Azure </div>
<div>  - save user info in new WASession </div>
<div>  - finish render</div>
<div>3: WAApplication>>handleFiltered: application URL with _s & _k plus callback values like: &2=2160&1=3840&3=false </div>
<div>  - WAResponse>>location: application URL with _s & new _k and no callback values </div>
<div>4: WAApplication>>handleFiltered: application URL with _s & _K </div>
<div>  - finish render</div>
<div>  </div>
<div>With iOS step 3 does not happen; I'd like to know what triggers it normally. </div>
<div><br clear="none">
</div>
<div>Just to add to the fun, we have a two WAApplication registered. The default application fails on iOS, the other works fine. I can see no obvious difference between the two. </div>
<div><br clear="none">
</div>
<div>Thanks for any help (I'll cross post on the the Seaside mailing list and Discord)</div>
</div>
<div><br clear="none">
</div>
<div dir="ltr">Bob Nemec</div>
<div dir="ltr"><br clear="none">
</div>
<br clear="none">
</div>
</div>
</div>
_______________________________________________<br clear="none">
seaside mailing list<br clear="none">
seaside@lists.squeakfoundation.org<br clear="none">
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br clear="none">
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="yiv1234992836yqt65585" class="yiv1234992836yqt6134072332">_______________________________________________<br clear="none">
seaside mailing list<br clear="none">
<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:seaside@lists.squeakfoundation.org" target="_blank" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br clear="none">
<a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br clear="none">
</div>
</div>
</div>
</div>
_______________________________________________<br clear="none">
seaside mailing list<br clear="none">
seaside@lists.squeakfoundation.org<br clear="none">
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br clear="none">
</div>
</div>
</blockquote>
</div>
</div>

</div></div>
            </div>
        </div></div></div></div><div id="yiv1234992836yqt74104" class="yiv1234992836yqt1965674331">_______________________________________________<br clear="none">seaside mailing list<br clear="none"><a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:seaside@lists.squeakfoundation.org" target="_blank" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br clear="none"><a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br clear="none"></div></div></div>
            </div>
        </div></div></div><div id="yiv1234992836yqt27748" class="yiv1234992836yqt4079441512">_______________________________________________<br clear="none">seaside mailing list<br clear="none"><a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:seaside@lists.squeakfoundation.org" target="_blank" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br clear="none"><a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br clear="none"></div></div></div>
            </div>
        </div></div></div><div class="yqt6199054490" id="yqt20961">_______________________________________________<br clear="none">seaside mailing list<br clear="none"><a shape="rect" ymailto="mailto:seaside@lists.squeakfoundation.org" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br clear="none"><a shape="rect" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br clear="none"></div></div>
            </div>
        </div></body></html>