We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

OAuth working in Chrome and other browsers but Firefox does not fulfill the requests

  • 5 回覆
  • 0 有這個問題
  • 3 次檢視
  • 最近回覆由 cor-el

more options

Hey there!

We have problems with our OAuth authentication in Firefox. There are 4 calls happening (3 Redirects).

- Call To Login - Call To Authorize Endpoint - Call To Client SignIn - Call To Client Homepage

The expected behavior would be

Login (302) -> Authorize (302) -> Client SignIn (302) -> Client Homepage (200)

This works in a few tested browsers. In Firefox the first three calls appear simultaneously without a status code in the network tab and the page keeps loading. After about 75 Seconds the page loading stops and the three status codes (302, 302, 302) appear. But the fourth request is missing in the network tab. (See attached images - Firefox is dark, Chrome is white)

I have redacted HAR files of both Firefox and Chrome if that helps.

Any idea why Firefox behaves like that?

Thank you for helping! Best, Chris

Hey there! We have problems with our OAuth authentication in Firefox. There are 4 calls happening (3 Redirects). - Call To Login - Call To Authorize Endpoint - Call To Client SignIn - Call To Client Homepage The expected behavior would be Login (302) -> Authorize (302) -> Client SignIn (302) -> Client Homepage (200) This works in a few tested browsers. In Firefox the first three calls appear simultaneously without a status code in the network tab and the page keeps loading. After about 75 Seconds the page loading stops and the three status codes (302, 302, 302) appear. But the fourth request is missing in the network tab. (See attached images - Firefox is dark, Chrome is white) I have redacted HAR files of both Firefox and Chrome if that helps. Any idea why Firefox behaves like that? Thank you for helping! Best, Chris
附加的畫面擷圖

所有回覆 (5)

more options

Try to ask advice on a web development oriented forum.

more options

Hey cor-el!

If I follow your link I end up at the same page I originally submitted this request. Do you mean forums like Stackoverflow by "web development oriented" or did I miss something?

more options

One possibility is some extenshion blocking js, Try again in incogonito window, if oAuth OK: For the latest installed extensions, you can select "Allow in incognito", then try incogonito view agian, if oAuth Fail, then remove the extension. I just found one weired extension, remove it, then OK!

Greetings, Tech G

more options

Hey Tech G!

I found out that HTTP2 is causing this issue. It is working fine on HTTP1.1. This issue persists in Firefox Desktop, Firefox Developer, Firefox Focus (Mobile) and in private views across those browsers. I have no extensions installed. It works in Chrome, Chrome Mobile and Edge though, which is weird.

more options

Note that current releases also support HTTP3 in case disabling that makes a difference.

  • about:config => network.http.http3.enable = false