Re: iOS redirect / rendering problem
Bob Nemec <[email protected]> Sat, 30 Jul 2022 14:59:47 +0000 (UTC)
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <[email protected]> |
--===============2760426793403365769==
Content-Type: multipart/alternative;
boundary="----=_Part_3271206_1694169499.1659193187487"
------=_Part_3271206_1694169499.1659193187487
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
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.=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
#yiv3208983458 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
=20
------=_Part_3271206_1694169499.1659193187487
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<html><head></head><body><div class=3D"ydpc587fd8cyahoo-style-wrap" style=
=3D"font-family:lucida console, sans-serif;font-size:13px;"><div></div>
<div dir=3D"ltr" data-setdir=3D"false">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=3D"ltr" data=
-setdir=3D"false"><br></div><div dir=3D"ltr" data-setdir=3D"false">Bob =
;</div><div dir=3D"ltr" data-setdir=3D"false"><br></div><div><br></div>
=20
</div><div id=3D"yahoo_quoted_9780766574" 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 10:18:13 a.m. EDT, Karste=
n Kusche <[email protected]> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id=3D"yiv3208983458"><style>#yiv3208983458 body{f=
ont-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 -> debug menu -> 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"yiv3208983458gmail_signature">
<div>=E2=80=94 </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"yiv320898=
3458gmail_signature yiv3208983458amz_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"yiv3208983458airmail_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"yiv3208983458clean_bq"><span>
</span><div>
<div></div>
<div>
<div id=3D"yiv3208983458yqt57178" class=3D"yiv3208983458yqt1347953698"><div=
style=3D"font-family:lucida console, sans-serif;font-size:13px;" class=3D"=
yiv3208983458yahoo-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. </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>>handleFiltered: application URL</div>
<div> - self requestContext redirectTo: 'https://login.microsoftonlin=
e.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=3D2160&1=3D3840&3=3Dfalse =
;</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 nor=
mally. </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. </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></body></html>
------=_Part_3271206_1694169499.1659193187487--
--===============2760426793403365769==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18Kc2Vhc2lkZSBt
YWlsaW5nIGxpc3QKc2Vhc2lkZUBsaXN0cy5zcXVlYWtmb3VuZGF0aW9uLm9yZwpodHRwOi8vbGlz
dHMuc3F1ZWFrZm91bmRhdGlvbi5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL3NlYXNpZGUK
--===============2760426793403365769==--