Multistage welcome screen should pick FxA endpoint dynamically
Categories
(Firefox :: Messaging System, enhancement, P1)
Tracking
()
People
(Reporter: pdahiya, Assigned: pdahiya)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
With bug 1653613 fix, FxA endpoint should be dynamically picked from browser.newtabpage.activity-stream.fxaccounts.endpoint or generated with a call to FxAccounts.config.promise***URI
Updated•4 years ago
|
Updated•4 years ago
|
Comment 1•4 years ago
•
|
||
I would recommend switching the multistage code to use the SHOW_FIREFOX_ACCOUNTS
special message action instead of OPEN_URL
, since that already dynamically gets the right Firefox accounts endpoint. (see https://firefox-source-docs.mozilla.org/toolkit/components/messaging-system/docs/SpecialMessageActionSchemas/index.html?highlight=show_firefox_accounts#show-firefox-accounts)
You will need to extend the SMA to accept extraParams
(like all your flow params).
Assignee | ||
Comment 2•4 years ago
|
||
Pushed by pdahiya@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/de9369f53613 Multistage welcome screen should pick FxA endpoint dynamically r=andreio
Comment 4•4 years ago
|
||
bugherder |
Assignee | ||
Comment 5•4 years ago
|
||
QA steps to verify:
- Go to about:welcome and click on FxA signin link
- Verify redirected endpoint is picked from pref 'identity.fxaccounts.remote.root'
FxA signin link for CN builds should redirect to https://accounts.firefox.com.cn as per the endpoint set in pref 'identity.fxaccounts.remote.root'
Assignee | ||
Comment 6•4 years ago
|
||
NI @hectorz to help point to FxCN repacked build for beta 81 and Nightly 82 to verify FxA endpoint in about:welcome is pointing to https://accounts.firefox.com.cn . Thanks!
Assignee | ||
Updated•4 years ago
|
Comment 7•4 years ago
|
||
(In reply to Punam Dahiya [:pdahiya] from comment #6)
NI @hectorz to help point to FxCN repacked build for beta 81 and Nightly 82 to verify FxA endpoint in about:welcome is pointing to https://accounts.firefox.com.cn . Thanks!
Hi Punam,
Partner repacks are not created for earlier betas, they will be first built with Fx 81.0b81. Even then, overrides for Fx 80 in current distribution.ini might take precedence.
I think our desktop QA Yanfang had verified this fix with Nightly 81.0a1 and manually modified distribution files already, I'll let her confirm in the bug.
Comment 8•4 years ago
|
||
Verified as fixed in Nightly 81.0a1 and Fx80 with modified distribution files.
Updated•4 years ago
|
Description
•