Open Bug 1904952 Opened 1 year ago Updated 2 months ago

idp5.civis.bz.it - Firefox is unsupported browser

Categories

(Web Compatibility :: Site Reports, defect, P3)

ARM
Android

Tracking

(Webcompat Priority:P2, Webcompat Score:1)

ASSIGNED
Webcompat Priority P2
Webcompat Score 1

People

(Reporter: ksenia, Assigned: twisniewski)

References

(Depends on 1 open bug, )

Details

(4 keywords, Whiteboard: [webcompat-source:web-bugs])

User Story

platform:android
impact:unsupported-feature
configuration:general
affects:all
diagnosis-team:webcompat

Attachments

(1 file)

Environment:
Operating system: Android 11
Firefox version: Firefox Mobile 106.0

Steps to reproduce:
Tap on cie login (button at the bottom). A page saying that the browser is not supported will appear. Already reported as https://github.com/webcompat/web-bugs/issues/110084, maybe it can be reproduced now??

Actual Behavior:
Browser unsupported

Notes:

  • Reproduces regardless of the status of ETP
  • Does not reproduce in Firefox Nightly, Firefox Release, and Chrome

Created from https://github.com/webcompat/web-bugs/issues/110086

Severity: -- → S2
User Story: (updated)
Priority: P1 → P3
Webcompat Priority: --- → P2

The idp5.civis.bz.it looks like it is an internal url, I get an error page from the underlying service if I navigate to it directly to it.

But I managed to reproduce the issue and get to the cie login error stating the current browser is not supported by using the following STR:

  • open Firefox for Android (I tried with both a Nightly and a Release build) and create a new tab
  • navigate the new tab to https://www.cartaidentita.interno.gov.it/pgic/attivazione-credenziali-puk
  • wait for the webpage to have been loaded and then click on the "Entra con CIE" big blue button
  • in the new loaded webpage the error message "L'app CieID non supporta is tuo browser" is then been shown

Luca, can you install Chrome Mask and see if that makes it work?

Flags: needinfo?(lgreco)

(In reply to Dennis Schubert [:denschub] from comment #2)

Luca, can you install Chrome Mask and see if that makes it work?

I just tried again to go through the STR described in comment 1 with the Chrome Mask extension installed and turned on the Chrome masking and through that:

  • the navigation triggered by clicking on "Entra con CIE" button then prompted the CieID android app to be opened
  • the webpage loaded wasn't the one with the error message "L'app CieID non supporta is tuo browser" (the CieID app doesn't support your browser), but one that is waiting for the user to complete the interaction with the CieID android app

And so it seems that it should be working as expected if the website doesn't redirect the user on the error page.

Flags: needinfo?(lgreco)
Webcompat Score: --- → 6

needinfo-ing myself as a reminder to try to reproduce this again.

Flags: needinfo?(lgreco)

Hi Thomas,
I just confirmed that:

  • I can still reproduce the issue, on both Nightly and Release (138.0.4).
  • the issue is not reproducing anymore if I install Chrome Mask, and it has to be enabled on the idp5.civis.bz.it url, where the https://www.cartaidentita.interno.gov.it/pgic/attivazione-credenziali-puk webpage navigates the tab after the user has clicked on the "Entra con CIE" button
  • The STR from comment 1 does not require the client to login, and so it should be something that we could write an automated test for.

Let me know if there is some other verification / test that I can do to help to determine what subset of what modifications the ChromeMask extension is applying to the webpage to get past that error.

Flags: needinfo?(lgreco) → needinfo?(twisniewski)

Mass-assigning diagnosis-team to webcompat for "Firefox is not supported" bugs that don't already have a team assigned. This action is done by a script. For your convenience, feel free to filter your bugmail with 559a9604-41ec-11f0-9ec6-f3f21dcd7cf2.

User Story: (updated)

It turns out that the page is redirected through idserver.servizicie.interno.gov.it, which checks navigator.userAgent, navigator.platform, and window.chrome to detect Chrome. I've made an intervention to do so. This will presumably also affect other sites using this service.

User Story: (updated)
Flags: needinfo?(twisniewski)
Keywords: leave-open
Assignee: nobody → twisniewski
Status: NEW → ASSIGNED
Pushed by amarc@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d544f206fa6e https://hg.mozilla.org/mozilla-central/rev/3b834e2c38c6 add an Android-only JS intervention for idserver.servizicie.interno.gov.it to spoof as Chrome so that the service allows Firefox to redirect to their card-reading mobile app; r=denschub,webcompat-reviewers
Webcompat Score: 6 → 1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: