Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

103
Visualizações
iOS Mobile Chrome intermittently unresponsive after oAuth

Application: nginx, php, mariadb - custom application.
oAuth is based on https://github.com/overtrue/socialite (server side flow):

mypage.com/auth/start/google (302) => https://accounts.google.com/o/oauth2/v2/auth?... (302) => mypage.com/auth/redirect/google?... (handle login etc)

Problem: intermittent issue after clicking the oauth login button (simple link) on iPhone SE and iPad, Chrome (latest). Everything works fine on desktop browsers, responsive mode and virtual devices.

Sometimes when I click the login button to go to mypage.com/auth/start/google the browser is stuck "loading". The browser is completely unresponsive at this point, but it is not in a redirect loop.

Interestingly when I check the background network activity with e.g. mitmproxy I can see that actually the authentication process has finished successfully and I see the requests/responses - but mobile chrome doesn't update. As if I would see a static version of my website. Even more confusingly I can even click on links that were visible on the stuck login page (where I clicked the login button) and I can see that the requests and responses arrive, but there are no changes in the page rendering. I have to close the browser and reopen the page (where I am sure enough logged in).

What I've tried:

  • make sure connections are closed when I do the redirect(s) to the oAuth provider.
  • remove unnecessary css, js from the page
  • removed all JS from the page
  • reinstall chrome on my iPhone
  • made sure my html is w3 valid, I get 100/100/100/100 on Google Lighthouse, there are no JS errors and warnings

My css is not 100% valid, I could spend a few hours fixing small issues. There is nothing in app, nginx or php logs - request happen properly in the background! I don't have a Mac.

It is quite hard to reproduce consistently and I could not find a pattern. I couldn't find any similar issues online and I am stuck. What should I try? Does it seem like a client (js, css) or server side (redirect) issue?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda