[Seaside] iOS redirect / rendering problem

John M McIntosh johnmci at smalltalkconsulting.com
Sat Jul 30 18:09:09 UTC 2022


This is great advice, just beware that sometimes for reasons unknown the safari debugger will stall and not work leaving you hung

debugger; Is your friend…

Sent from Proton Mail for iOS

On Sat, Jul 30, 2022 at 07:18, Karsten Kusche <karsten at heeg.de> wrote:

> Hi Bob,
>
> 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.
>
> Maybe it helps already.
>
> Kind Regards
> Karsten
>
>>
> Georg Heeg eK
>
> Wallstraße 22
> 06366 Köthen
>
> Tel.: 03496/214328
> FAX: 03496/214712
> Amtsgericht Dortmund HRA 12812
>
> Am 30. Juli 2022 um 15:59:56, Bob Nemec (bobn at rogers.com) schrieb:
>
>> 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.
>> 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.
>>
>> When I log from a non-iOS device I see...
>> 1: WAApplication>>handleFiltered: application URL
>> - self requestContext redirectTo: 'https://login.microsoftonline.com/...'
>> - redirects back to our app URL with an access token
>> 2: WAApplication>>handleFiltered: application URL with MS access token & no _s & _k values
>> - validate token with Azure
>> - save user info in new WASession
>> - finish render
>> 3: WAApplication>>handleFiltered: application URL with _s & _k plus callback values like: &2=2160&1=3840&3=false
>> - WAResponse>>location: application URL with _s & new _k and no callback values
>> 4: WAApplication>>handleFiltered: application URL with _s & _K
>> - finish render
>>
>> With iOS step 3 does not happen; I'd like to know what triggers it normally.
>>
>> 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.
>>
>> Thanks for any help (I'll cross post on the the Seaside mailing list and Discord)
>>
>> Bob Nemec
>>
>> _______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20220730/ddec2bce/attachment.html>


More information about the seaside mailing list