Open Bug 1437817 Opened 6 years ago Updated 10 months ago

Firefox on iPhone not showing basic auth login

Categories

(Firefox for iOS :: Browser, defect, P3)

All
Other
defect

Tracking

()

Tracking Status
fxios 11.0 ---

People

(Reporter: paulc, Unassigned)

References

Details

(Whiteboard: [specification][type:bug])

What did you do?
================
1. open firefox
2. past address
3. goto address
4. recieve 401 error

What happened?
==============
see above

What should have happened?
==========================
step 4. should have show the login window of somesort

Is there anything else we should know?
======================================
tried searching for this but the link was missing.
Summary: Firefox on iPhone not hsowing basic auth login → Firefox on iPhone not showing basic auth login
I can confirm, a website with Basic auth shows a username / password dialog with Safari, but a 401 Not Authorized with Firefox for iOS 10.6. Bug 1352302 is a similar bug for file download.
Status: UNCONFIRMED → NEW
Component: General → Browser
Ever confirmed: true
Product: Mozilla Developer Network → Firefox for iOS
See Also: → 1352302
Priority: -- → P2
I just tested this with this Node.js server example for HTTP basic auth and I was prompted for username/password correctly:

https://gist.github.com/charlesdaniel/1686663

I was also sure to follow your STR (cold launch, long-press and "Paste & Go" a URL to an HTTP basic auth website). Can you update this bug with a link to an HTTP basic auth website that exhibits this problem? Thanks!
Flags: needinfo?(paulc)
Priority: P2 → P3
Just to update this bug with some info from an offline conversation I had with :jwhitlock, he is able to reproduce this bug in normal browsing mode (results in an HTTP 401 page with no login prompt). However, when using Private Browsing mode, he receives the correct HTTP basic auth prompt. I'm still unable to repro using a local Node.js server with HTTP basic auth, so I'm thinking this either has something to do with cookies or HTTPS/SSL. I'll take this bug to continue investigating.
Assignee: nobody → jdarcangelo
Status: NEW → ASSIGNED
Another update from :jwhitlock -- uninstalling and reinstalling Firefox for iOS brought back the username/password prompt and turning Sync back on brought back the saved credentials to where the username/password prompt appears with the login info pre-filled correctly.

I also tested using https://wopr.norad.org/~sarentz/fxios/testpages/basicauth/index.html and was not able to get stuck in this state where the username/password prompt never appears. I also tried saving my credentials and still am not able to reproduce. I'm not entirely sure what the leading STR are to get to a point where this 401 appears without a prompt. In the meantime, it seems that uninstalling/reinstalling/re-syncing can at least work around this problem should it arise.
paulc: Can you please try the following to see if it resolves your problem?

1. In Firefox for iOS, go to the Settings menu and tap "Disconnect Sync"
2. Uninstall Firefox for iOS
3. Reinstall Firefox for iOS
4. Log back into Firefox Sync when prompted
Assignee: jdarcangelo → nobody
Status: ASSIGNED → NEW
Severity: normal → S3

Clear a needinfo that is pending on an inactive user.

Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE.

For more information, please visit BugBot documentation.

Flags: needinfo?(paulc)
You need to log in before you can comment on or make changes to this bug.