fenix icon indicating copy to clipboard operation
fenix copied to clipboard

Support of 3rd party password manager

Open bbinto opened this issue 8 years ago • 56 comments

Why/User Benefit/User Problem

Allow users to fill in their logins from their preferred password manager, e.g. LastPass

What / Requirements

Show dialog/prompt to use 3rd party app to fill in login information

Acceptance Criteria (how do I know when I’m done?)

  • Password manager app can access Fenix
  • Fenix offers dialog to select preferred pwd manager
  • Fenix fills out logins automatically
  • Focus app parity

┆Issue is synchronized with this Jira Task

bbinto avatar Dec 03 '18 13:12 bbinto

The idea is to use 3rd party password managers to let users fill in their saved logins, it's not via FX sync, but rather via other apps, ideally via Lockbox.

We should talk to UX (@brampitoyo and @lime124 ) how we can make sure to surface the option for users to use Lockbox as a password manager (should be some UI provided inside Fenix to advertise for this).

bbinto avatar Jan 29 '19 14:01 bbinto

@bbinto as far as I can tell, all the UI is going to be either via the 3rd party apps or something provided by the OS. It doesn't seem like there's anything for UX to provide to simply access their passwords in the app of their choice. @colintheshots am I missing something?

@bbinto If you are you wanting some sort of specific Fenix UI that is getting new users to go and download Lockbox, I think that should be a separate GitHub issue from this one which is just letting people get access to whatever they are already using.

Am I misunderstanding something?

lime124 avatar Feb 01 '19 01:02 lime124

@bbinto I’m confirming @lime124 that Lockbox integration will mostly rely on the Lockbox.app to implement an accessibility service that users will need to turn on inside Android Settings.

Something that looks like this:

lockbox-accessibility

After this feature has been toggled on, the user will get a suggestion UI when visiting any website (using any browser, not just Fenix) that contains username/password fields:

brampitoyo avatar Feb 03 '19 22:02 brampitoyo

Next Lockbox update early March

bbinto avatar Feb 08 '19 19:02 bbinto

Idea re: flow

  • Keep password in library, detect if Lockbox is installed, if not, promote, otherwise open Lockbox directly

GV has implemented Autofill API

bbinto avatar Feb 08 '19 19:02 bbinto

@linuxwolf to confirm if his test was done on Focus GV, and post results here.

bbinto avatar Feb 08 '19 19:02 bbinto

Original tests may not been using the GeckoView engine in Firefox.

However, after verifying "Latest GeckoView" is toggled on, can confirm that Lockbox can fill into a page on Firefox Focus for Android.

linuxwolf avatar Feb 08 '19 21:02 linuxwolf

I think this is also related: https://github.com/mozilla-mobile/reference-browser/issues/574

sandysage avatar Feb 27 '19 19:02 sandysage

Just to close the loop here, I believe we're planning to use the autofill api as @bbinto mentions above, and not the accessibility route. Further discussion in #550.

sandysage avatar Feb 27 '19 19:02 sandysage

I'd like to suggest that this ticket/meta/epic is about the support of 3rd party passwords in general, i.e Autofill API.

@sandysage your suggestions, covered in #821 and #550 is def. a wonderful "nice to have" but not required for MVP. We'll keep it in the backlog and personally, I think, at a high priority.

@sandysage - I wonder if your engineers could help out with this work instead?

bbinto avatar Mar 13 '19 11:03 bbinto

@pocmo and @st3fan - has the required A/C work been done (support of 3rd party password manager), and if so, has this been loaded into Fenix nightly yet?

bbinto avatar Mar 13 '19 11:03 bbinto

@vesta0 do we need Fenix stories for this? The only stories seem to be for reference browser.

mheubusch avatar Apr 05 '19 21:04 mheubusch

@vesta0 are we not doing this Meta? what's the path forward?

bifleming avatar May 03 '19 23:05 bifleming

Duplicate: https://groups.google.com/forum/m/#!topic/fenix-nightly/ImcINWPjbB8

reinhart1010 avatar May 18 '19 08:05 reinhart1010

Duplicate: https://groups.google.com/forum/m/#!topic/fenix-nightly/Yp0bDF47YiA

reinhart1010 avatar May 20 '19 08:05 reinhart1010

To summarise the Google groups (though they aren't clear)/ explain the issue: The autofill API correctly pops up, but shows password for the package name instead of the URL of the site.

Using the 'draw over other apps' method of Lastpass filling, when I press search it puts "Firefox Preview" in the search box. If I search for a site and tap it, Lastpass asks me if I want to associate that site with the app "Firefox Preview". I searched for disqus and added it this way, which is why you see that listed along with my firefox sync account/s (I need to clean up my passwords...). You can't see the text because I'm using the Android Q Beta and dark mode, which is also broken in other apps. Screenshot_20190520-223155

Edit: Not duplicate, but mentioned here: https://groups.google.com/d/msg/fenix-nightly/7wkodVg_PsQ/rlrKMKBOBQAJ

IndefiniteBen avatar May 20 '19 21:05 IndefiniteBen

We are in the process of getting 3rd party managers work in Fenix.

vesta0 avatar May 21 '19 04:05 vesta0

See https://github.com/mozilla-mobile/fenix/issues/1635#issuecomment-496128571

sv-ohorvath avatar May 27 '19 08:05 sv-ohorvath

@vesta0 can you provide info on what is blocking this?

bifleming avatar May 29 '19 17:05 bifleming

I'm happy to provide test cases and/or do qa for this feature, as I'm missing it a lot.

leonardehrenfried avatar May 30 '19 06:05 leonardehrenfried