Re: iOS redirect / rendering problem

Bob Nemec <[email protected]> Tue, 2 Aug 2022 13:40:34 +0000 (UTC)
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <[email protected]>
--===============8129170999527201655==
Content-Type: multipart/alternative; 
	boundary="----=_Part_214933_490082811.1659447634565"

------=_Part_214933_490082811.1659447634565
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

 fwiw: looking at WARenderPhaseContinuation>>processRendering: I see the sa=
me content for both the iOS and Windows initial request. And I see that wit=
h iOS the following WACallbackProcessingActionContinuation does not happen,=
 as it does with Windows... that's where I'm stuck.

Bob
    On Saturday, July 30, 2022 at 11:00:00 a.m. EDT, Bob Nemec <bobn@rogers=
.com> wrote: =20
=20
  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 t=
o work with. On an iPhone and iPad the problem happens with any browser.=C2=
=A0
Bob=C2=A0

    On Saturday, July 30, 2022 at 10:18:13 a.m. EDT, Karsten Kusche <karste=
[email protected]> wrote: =20
=20
 #yiv2608420620 body{font-family:Helvetica, Arial;font-size:13px;}Hi Bob,
when you plug your iOS device into a USB cable and connect it to a mac, the=
n you can go to Mac-Safari -> debug menu -> 3rd or 4th entry in the menu sh=
ould be the name of your device. There you can open the debugger on a tab o=
f your iOS Safari and debug everything from the Browser side.
Maybe it helps already.
Kind RegardsKarsten
=E2=80=94=C2=A0
Georg Heeg eKWallstra=C3=9Fe 22
06366 K=C3=B6then

Tel.: 03496/214328
FAX: 03496/214712
Amtsgericht Dortmund HRA 12812


Am 30. Juli 2022 um 15:59:56, Bob Nemec ([email protected]) schrieb:

We're having a problem with physical iOS devices (works fine on Chrome virt=
ual device) where a final Seaside redirect is not happening after an Azure =
SSO redirect.=C2=A0I'd like to understand what triggers the Seaside redirec=
t: I can see it in normal rendering, but I've never had to dig into it like=
 this before.=C2=A0
When I log from a non-iOS device I see...1: WAApplication>>handleFiltered: =
application URL=C2=A0 - self requestContext redirectTo: 'https://login.micr=
osoftonline.com/...'=C2=A0=C2=A0 - redirects back to our app URL with an ac=
cess token2: WAApplication>>handleFiltered: application URL with MS access =
token & no _s & _k values=C2=A0=C2=A0 - validate token with Azure=C2=A0=C2=
=A0 - save user info in new WASession=C2=A0=C2=A0 - finish render3: WAAppli=
cation>>handleFiltered: application URL with _s & _k plus callback values l=
ike: &2=3D2160&1=3D3840&3=3Dfalse=C2=A0=C2=A0 - WAResponse>>location: appli=
cation URL with _s & new _k and no callback values=C2=A04: WAApplication>>h=
andleFiltered: application URL with _s & _K=C2=A0=C2=A0 - finish render=C2=
=A0=C2=A0With iOS step 3 does not happen; I'd like to know what triggers it=
 normally.=C2=A0
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 diffe=
rence between the two.=C2=A0
Thanks for any help (I'll cross post on the the Seaside mailing list and Di=
scord)
Bob Nemec

_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

  _______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
 =20
------=_Part_214933_490082811.1659447634565
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div class=3D"ydp5d34f259yahoo-style-wrap" style=
=3D"font-family:lucida console, sans-serif;font-size:13px;"><div></div>
        <div dir=3D"ltr" data-setdir=3D"false"><span>fwiw: looking at WARen=
derPhaseContinuation&gt;&gt;processRendering: I see the same content for bo=
th the iOS and Windows initial request. And I see that with iOS the followi=
ng WACallbackProcessingActionContinuation does not happen, as it does with =
Windows... that's where I'm stuck.</span><br></div><div dir=3D"ltr" data-se=
tdir=3D"false"><span><br></span></div><div dir=3D"ltr" data-setdir=3D"false=
"><span>Bob</span></div><div><br></div>
       =20
        </div><div id=3D"yahoo_quoted_9856867607" class=3D"yahoo_quoted">
            <div style=3D"font-family:'Helvetica Neue', Helvetica, Arial, s=
ans-serif;font-size:13px;color:#26282a;">
               =20
                <div>
                    On Saturday, July 30, 2022 at 11:00:00 a.m. EDT, Bob Ne=
mec &lt;[email protected]&gt; wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id=3D"yiv2608420620"><div><div style=3D"font-fami=
ly:lucida console, sans-serif;font-size:13px;" class=3D"yiv2608420620ydpc58=
7fd8cyahoo-style-wrap"><div></div>
        <div dir=3D"ltr">Thanks... I set up to do the debugging, and it tur=
ns 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 happe=
ns with any browser.&nbsp;</div><div dir=3D"ltr"><br clear=3D"none"></div><=
div dir=3D"ltr">Bob&nbsp;</div><div dir=3D"ltr"><br clear=3D"none"></div><d=
iv><br clear=3D"none"></div>
       =20
        </div><div id=3D"yiv2608420620yqt14034" class=3D"yiv2608420620yqt61=
34072332"><div id=3D"yiv2608420620yahoo_quoted_9780766574" class=3D"yiv2608=
420620yahoo_quoted">
            <div style=3D"font-family:'Helvetica Neue', Helvetica, Arial, s=
ans-serif;font-size:13px;color:#26282a;">
               =20
                <div>
                    On Saturday, July 30, 2022 at 10:18:13 a.m. EDT, Karste=
n Kusche &lt;[email protected]&gt; wrote:
                </div>
                <div><br clear=3D"none"></div>
                <div><br clear=3D"none"></div>
                <div><div id=3D"yiv2608420620"><style>#yiv2608420620  body{=
font-family:Helvetica, Arial;font-size:13px;}</style><div>
<div style=3D"font-family:Helvetica, Arial;font-size:13px;">Hi Bob,</div>
<div style=3D"font-family:Helvetica, Arial;font-size:13px;"><br clear=3D"no=
ne">
</div>
<div style=3D"font-family:Helvetica, Arial;font-size:13px;">when you plug y=
our iOS device into a USB cable and connect it to a mac, then you can go to=
 Mac-Safari -&gt; debug menu -&gt; 3rd or 4th entry in the menu should be t=
he name of your device. There you can open
 the debugger on a tab of your iOS Safari and debug everything from the Bro=
wser side.</div>
<div style=3D"font-family:Helvetica, Arial;font-size:13px;"><br clear=3D"no=
ne">
</div>
<div style=3D"font-family:Helvetica, Arial;font-size:13px;">Maybe it helps =
already.</div>
<div style=3D"font-family:Helvetica, Arial;font-size:13px;"><br clear=3D"no=
ne">
</div>
<div style=3D"font-family:Helvetica, Arial;font-size:13px;">Kind Regards</d=
iv>
<div style=3D"font-family:Helvetica, Arial;font-size:13px;">Karsten</div>
<br clear=3D"none">
<div class=3D"yiv2608420620gmail_signature">
<div>=E2=80=94&nbsp;</div>
<div><br clear=3D"none">
<span style=3D"white-space:pre-wrap;font-family:-apple-system;font-size:14p=
x;">Georg Heeg eK</span></div>
<div>
<div style=3D"font-family:-apple-system;font-size:14px;" class=3D"yiv260842=
0620gmail_signature yiv2608420620amz_quote_hidden">
<pre style=3D"white-space:pre-wrap;word-wrap:break-word;">Wallstra=C3=9Fe 2=
2
06366 K=C3=B6then

Tel.: 03496/214328
FAX: 03496/214712
Amtsgericht Dortmund HRA 12812</pre>
<div><br clear=3D"none">
</div>
</div>
</div>
</div>
<br clear=3D"none">
<p class=3D"yiv2608420620airmail_on">Am 30. Juli 2022 um 15:59:56, Bob Neme=
c (<a rel=3D"nofollow noopener noreferrer" shape=3D"rect" ymailto=3D"mailto=
:[email protected]" target=3D"_blank" href=3D"mailto:[email protected]">bobn@ro=
gers.com</a>) schrieb:</p>
<blockquote type=3D"cite" class=3D"yiv2608420620clean_bq"><span>
</span><div>
<div></div>
<div>
<div id=3D"yiv2608420620yqt57178" class=3D"yiv2608420620yqt1347953698"><div=
 style=3D"font-family:lucida console, sans-serif;font-size:13px;" class=3D"=
yiv2608420620yahoo-style-wrap">
<div dir=3D"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 A=
zure SSO redirect.&nbsp;</div>
<div>I'd like to understand what triggers the Seaside redirect: I can see i=
t in normal rendering, but I've never had to dig into it like this before.&=
nbsp;</div>
<div><br clear=3D"none">
</div>
<div>When I log from a non-iOS device I see...</div>
<div>1: WAApplication&gt;&gt;handleFiltered: application URL</div>
<div>&nbsp; - self requestContext redirectTo: 'https://login.microsoftonlin=
e.com/...'&nbsp;</div>
<div>&nbsp; - redirects back to our app URL with an access token</div>
<div>2: WAApplication&gt;&gt;handleFiltered: application URL with MS access=
 token &amp; no _s &amp; _k values&nbsp;</div>
<div>&nbsp; - validate token with Azure&nbsp;</div>
<div>&nbsp; - save user info in new WASession&nbsp;</div>
<div>&nbsp; - finish render</div>
<div>3: WAApplication&gt;&gt;handleFiltered: application URL with _s &amp; =
_k plus callback values like: &amp;2=3D2160&amp;1=3D3840&amp;3=3Dfalse&nbsp=
;</div>
<div>&nbsp; - WAResponse&gt;&gt;location: application URL with _s &amp; new=
 _k and no callback values&nbsp;</div>
<div>4: WAApplication&gt;&gt;handleFiltered: application URL with _s &amp; =
_K&nbsp;</div>
<div>&nbsp; - finish render</div>
<div>&nbsp;&nbsp;</div>
<div>With iOS step 3 does not happen; I'd like to know what triggers it nor=
mally.&nbsp;</div>
<div><br clear=3D"none">
</div>
<div>Just to add to the fun, we have a two WAApplication registered. The de=
fault application fails on iOS, the other works fine. I can see no obvious =
difference between the two.&nbsp;</div>
<div><br clear=3D"none">
</div>
<div>Thanks for any help (I'll cross post on the the Seaside mailing list a=
nd Discord)</div>
</div>
<div><br clear=3D"none">
</div>
<div dir=3D"ltr">Bob Nemec</div>
<div dir=3D"ltr"><br clear=3D"none">
</div>
<br clear=3D"none">
</div>
</div></div>
_______________________________________________<br clear=3D"none">
seaside mailing list<br clear=3D"none">
[email protected]<br clear=3D"none">
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br clear=
=3D"none">
</div>
</div>
</blockquote>
</div></div></div>
            </div>
        </div></div></div></div><div class=3D"yqt6134072332" id=3D"yqt65585=
">_______________________________________________<br clear=3D"none">seaside=
 mailing list<br clear=3D"none"><a shape=3D"rect" ymailto=3D"mailto:seaside=
@lists.squeakfoundation.org" href=3D"mailto:[email protected].=
org">[email protected]</a><br clear=3D"none"><a shape=3D"r=
ect" href=3D"http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/sea=
side" target=3D"_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/l=
istinfo/seaside</a><br clear=3D"none"></div></div>
            </div>
        </div></body></html>
------=_Part_214933_490082811.1659447634565--

--===============8129170999527201655==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18Kc2Vhc2lkZSBt
YWlsaW5nIGxpc3QKc2Vhc2lkZUBsaXN0cy5zcXVlYWtmb3VuZGF0aW9uLm9yZwpodHRwOi8vbGlz
dHMuc3F1ZWFrZm91bmRhdGlvbi5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL3NlYXNpZGUK

--===============8129170999527201655==--