Closed Bug 1842203 Opened 2 years ago Closed 2 years ago

Implement the finalized UX for FedCM ProviderPrompt

Categories

(GeckoView :: General, task, P2)

Firefox 117
All
Android
task

Tracking

(firefox119 verified)

VERIFIED FIXED
119 Branch
Tracking Status
firefox119 --- verified

People

(Reporter: titouan, Assigned: titouan)

References

(Blocks 1 open bug)

Details

(Whiteboard: [foundation][fxdroid] )

Attachments

(2 files)

A temporary prompt has already been implemented on Fenix, it should be replaced by the final UX when it is ready

Blocks: 1842204
Blocks: 1842205
Whiteboard: [foundation][fxdroid]
Severity: -- → N/A
Priority: -- → P2
Depends on: 1847059
Assignee: nobody → tthibaud
Blocks: 1847784

Authored by Titouan Thibaud
https://github.com/mozilla-mobile/firefox-android/commit/e43254d113970f03a24558c222a98f9574edeb78
[main] Bug 1842203: Implement of the final UX of FedCM Provider and Account dialogs in Compose

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: qe-verify+
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch

How to test:

Preparation

I recommend to first open those two links in any browser (it doesnt need to be on the testing device), because they are hosted on a machine that enters sleep mode after a few minutes without use and takes some time to wake up:

Testing

On Fenix on the test device:

  • Open about:config
  • Search for the key dom.security.credentialmanagement.identity.enabled, and set it to true
  • Open https://grand-military-astrodon.glitch.me/
  • login with username titouan and any password (it doesn't matter on this demo website)
  • scroll down and click on "VISIT THE RP TO TRY FEDCM"

Expected:

  • a first dialog appears to chose the Identity Provider. "Demo IDP" is the only option, Chose it.
  • a second dialog appears, to chose the Account "Titouan Lastname"
  • a third dialog, accept the Policy
  • you should be redirected to the "Signed in" page, showing the account name and picture.

Note
The Policy Dialog (the policy one) is shown only once for each account. If you want to see it again, you can either login with another account on the IDP website (just input a different username with anypassword, and then update the name, surname and picture if you want) or clear the Fenix data

Thank you, Titouan, for the detailed STR, this is really helpful.
Verified fixed on the latest Nightly 120.0a1 from 09/29 with Samsung Galaxy A53 5G (Android 13). The prompts are displayed as expected.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Duplicate of this bug: 1836774
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: