[WIP] Fix login redirect issue on iOS devices#180
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress.
Original prompt
This section details on the original issue you should resolve
<issue_title>[BUG] Login naar manifest.json op IOS</issue_title>
<issue_description>Beschrijf de bug
Inlogen op mobiel (IOS) gaat naar manifest.json
Om te reproduceren:
OP JE MOBIEL
(ik heb dit niet werkend gekregen op responsive met ua raar genoeg, ook al werkt ie wel op safari)
Verwachte gedrag
liefst naar de in eerste instantie opgevraagde pagina
maar gewoon naar start sturen lijkt me logischer
(@andr3i1010 je was toch al zoizo bezig met de auth herdoen?)
Schermfoto's (als van toepassing)
ScreenRecording_11-07-2025.08-20-44_1.mov
Apparaat informatie:
Extra uitleg
Lijkt heel erg specifiek op device te zijn. Ik heb een iPhone SE als dat helpt maar laten we hopen dat het reproducible is
</issue_description>
<agent_instructions>plz fix make no mistakes</agent_instructions>
Comments on the Issue (you are @copilot in this section)
@Kabab33 btw studenten moetten leerlingen zijn. Ik weet dat je niet in een college zit @andr3i1010 @Kabab33 Kan liggen aan hoe ie nu redirect @Kabab33 Voor de redirect wordt [src/utils/auth/redirect.ts](https://github.com/polarnl/PolarLearn/blob/9e3005c338e0ea6bc839c08e3a3a147807f960dc/src/utils/auth/redirect.ts) gebruikt. alleen zegt ie niks over een manifest.json Ik heb effe de cokies gecleard maar dat helpt niet (ook niet privé als je kan zien bij de vid) @supersiem dit is de gekste bug tot nu toe @Kabab33 Zoeken voor code met manifest.json geeft 0 resultaten 😭😭💀😭 @Kabab33 @supersiem aangezien je een Mac hebt kan je checken of dit met WebKit is? @andr3i1010 Can reproduce. iOS 18.5 op Arc Search 1.45.1 en Chrome 142.0.7444.128 (Official Build) stable (64-bit) @supersiem > [@supersiem](https://github.com/supersiem) aangezien je een Mac hebt kan je checken of dit met WebKit is?ik kan bevestigen dat dit een webkit bug is op versie 26.0 (21622.1.22.11.14) van safari</comment_new>
<comment_new>@supersiem
mischien werkt het als we manifest.json op de blacklist zetten</comment_new>
<comment_new>@supersiem
het lijkt je eerst naar start te sturen en daarna door naar manifest</comment_new>
<comment_new>@andr3i1010
Zou ik een issue bij WebKit Bugzilla maken?</comment_new>
<comment_new>@supersiem
laten we eerst ff goed kijken naar onze code
Op zo 9 nov 2025 om 14:01 schreef andrei1010 @.***>:
@Kabab33 auth.jsDat lijkt te werken maar de redirect gaat dan altijd naar home</comment_new>
<comment_new>@andr3i1010
blijkbaar worden dingen in /public geautht?
de browser wilt request maken er naar
maar wordt geredirect
polarlearn.goto wordt gezet
na auth wordt goto...
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.