Best practice to use Bitwarden as passkey provider

Hello

What is the current best practice to make sure that Bitwarden is the passkey provider (ie central shared storage and key delivery when prompted) in most major browsers and OS (Firefox, Edge and more importantly Chrome with their just announced cross devices cross platform support) ?

I am having a hard time with Bitwarden (through installed extension) and or the browser handling passkey requests and end up having various keys in various vaults, which is getting messy.

Is there any up to date guide as how this should be handled, ideally MacOS, iOS, Windows for major browsers ?

2 Likes

Well…

I guess, use it? :smile:

What does “a hard time” exactly mean?

I guess, in the browser extension

  • Settings → Notifications → “Ask to save and use passkeys” is turned on
  • Settings → Notifications → Excluded domains → all domains, where you want to use Bitwarden as your passkey provider, must not be on that list

Both requirements should lead to the Bitwarden “passkey popup” if there is a request… Storing Passkeys | Bitwarden Help Center

I guess on MacOS and Windows (and Linux?) it is still only possible to use passkeys with the browser extensions.

For iOS (and Android) you can find here Using passkeys with Bitwarden | Bitwarden Help Center in the tabs more info. As you can also read there, a basic requirement for iOS is version 17, and for Android version 14, though for the latter I can personally add, that the vendor of the phone must also enable the function for “third-party passkey providers” that it can function.

Apart from all that, as there are no tags in Bitwarden, still, I add “(Passkey”) to the title/name of my vault items with passkeys, to have more or less an overview…

1 Like

@AlexT Have you disabled the native password managers in your browsers (e.g., Google Password Manager)?

Normally, any passkey requests from the website should be intercepted first by the Bitwarden browser extension, and if the browser extension passkey prompt is dismissed, you will get a second prompt, this time from the operating system (e.g., Windows Security).

As noted by @Nail1684, you need to ensure that the option “Ask to save and use passkeys” has been enabled in Bitwarden, and that the domains of interest are not on the exclusion list.

Can you provide some specific examples of where a passkey is not being saved in Bitwarden (provided that you have configured your system as described above)?

Some additions. :wink:

Right! I almost wrote it myself, but then I thought, that’s already recommended for using a dedicated password manager and not “passkey specific” - but nonetheless, it should be mentioned! There’s a recent blog article about this: Disable your browser-based password manager | Bitwarden

I would add to that, that there can also be a “third” prompt, and that is by the browser. E.g. Chromium-based browsers offer a small button “Use passkey” or similar. (I don’t remember, when they introduced that popup)

That’s how it looks for me for this forum (the box “over” the inline-autofill… text in German; PS: that’s on Brave/Windows - I don’t know if the “design” can vary):

One, that would be interesting, yes. Two, that reminds me of: I guess there are still (or always? :sweat_smile:) some sites, that don’t implement passkeys well enough that it works with a third-party passkey manager (or Bitwarden for that matter). My personal best example would be eBay, though it’s a few days since I last checked whether it works now (see here: Passkey popup doesn't show - domain not on excluded domains list) - or PayPal a time ago, when they only allowed the passkeys to be created on iOS or Android devices (I think they changed this restrictions now?!).

So there can always be “bad implementations” and/or “restrictions” for passkeys, depending on the specific site/account/service. (BTW, another example for “restrictions” would be, that you can’t store the “login-with-passkey”-passkey for Bitwarden (Log In With Passkeys | Bitwarden) via the Bitwarden browser extension in the Bitwarden vault… apart from the circular dependency it would create and whether it makes sense or not - it is also a “restriction”)

At last I would like to add, that using passkeys via the inline-auto-fill is possible with the Bitwarden browser extension - see here: New! Inline autofill for cards, identities, and passkeys | Bitwarden (though I guess, the inline-auto-fill is a bit debatable for many people)

To date, I have never seen such prompts in my browsers. However, I have completely disabled all autofilling by the browser.

Thanks

I have (obviously) fully disabled the browser level password manager (btw would be nice if BW could do that at install time or at the very least want that it is not turned off).

I am now collecting a few samples and shall post.

1 Like

To report back on that: As I wrote, this prompt appeared some time ago - and until now, I never looked into it… Now I went through all (visible) settings about the in-built password manager, auto-fill etc. on Brave. Everything is disabled. Without any other extensive research: currently, I have no idea what setting enables or disables this prompt. :man_shrugging:

(PS: I also searched in brave :// flags for “passkey” and “prompt” and nothing hints to that passkey prompt)

I guess, Bitwarden can’t change controls in another program/app…

I guess you mean “that it is turned off” (= the browser password manager is disabled) :wink:

I’ve looked at BitWarden info, Reddit info, and other places. AFAICT, storing passkeys in BitWarden for the Mac just does not work. I use Safari (default Mac browser). I have the browser extension installed. I have passkeys turned on. I have Mac Passwords turned auto-entry turned off. I’ve now tried this at GitHub, a financial site, and a research funding site. It simply does not work. It does bring up a BitWarden passkey window, but it never finds the associated entry in BitWarden for the site (even though I DO have BitWarden entries for all the ones I’ve tried so far). It always asks to create a new entry. I’ve tried that and when I try the passkey again, it again asks to create a new entry–for which there is no passkey. I’ve tried this with the IOS version and it does not work either. Finally, I’ve seen screenshots of a passkey field for BitWarden and I do not have that in any of my Vault entries. This is very very frustrating. It seems to have some kind of bug and no one seems to know what is wrong.

@cmbarton Welcome to the forum!

What are your MacOS and Safari versions?

What version of the Bitwarden browser extension do you have installed?

I guess, that means you have turned on: Settings → Notifications → Ask to save and use passkeys ? (kind of rethorical question or “double check”, as you already wrote you get passkey prompt)

Your GitHub login item in Bitwarden has https://github.com (also) stored as an URI?

And then, you don’t have https://github.com on your Excluded domains? (Settings → Notifications → Excluded domains)

If you have not created a passkey-“pair” between a site (like GitHub) and a corresponding login item in your Bitwarden vault (like the GitHub-login item), then you don’t see that passkey field in the GitHub entry.

Or put the other way round: you first have to create the passkey-pair, then you see the passkey field in your corresponding Bitwarden login item and can login with the passkey.

PS: As far as I know, there is no general problem with MacOS, Safari and passkeys.

Yes

Yes

It wasn’t and then was. I cleared this out from my excluded domains and saved (BitWarden Safari extension)

Here is what happens. I’ll try to add screenshots if permitted. [Looks like I’m not permitted to add more than one screenshot.]

  1. In GitHub security and password settings click Add passkey. This goes to the add passkey screen.

  2. Click “use passkey”. The GitHub window goes into a ‘waiting’ mode, and a popup appears (looks like a BitWarden popup) that says “log in with a passkey?” “No passkeys found for this application” Options are to “close” or “use device hardware key”

  1. Clicking “close” or hardware key “just once” closes the popup and opens another Apple popup prompting me to reactivate the Passwords app for autofill in order to save the passkey there.

  2. Clicking hardware key “always for this site” also added GitHub to the BitWarden excluded domains.

I never get any option to save a passkey in BitWarden no matter what I do.

Once for the financial site, clicking “just this once” also brought up a QR code. I tried scanning that with my phone. It did bring up BitWarden to tell me that the URL was not recognized and asked me if I wanted to add it. I did, but still did not get a passkey.

So how’s this supposed to work??

@cmbarton I’m on the move right now (just saw your post), so quick answer:

It seems, your first step goes into the right direction (and more to that in a minute) – but what happens between your first and second point exactly??


I’ll try to show how it should work to create a passkey for GitHub and store it in Bitwarden:

Log in to GitHub, go to Settings and eventually to “Add passkey”, as you can see here:

When you clicked “Add passkey”, you should see this screen now:

When you click here “Add passkey” (before you click, you can unlock the Bitwarden browser extension) , then the Bitwarden “Save passkey prompt” should open:

When you have already a “GitHub” login entry with the GitHub URL in your Bitwarden vault stored, then you should be offered to save the passkey in that login item. Otherwise you can search the vault for a matching entry and choose it.

(In my case, I already have a GitHub-passkey stored, thats why it says “A passkey already exists for this application.”)

When you don’t see that Bitwarden-“save passkey prompt”, but followed my instructions, we have to look further why that could be…

PS: If you were able to store the GitHub-passkey that way, then afterwards you would finally be able to login with that passkey to GitHub.

PPS:

Yeah, that’s a bit annoying as a “new user”… one inofficial tip: you could make a collage (one larger image) from several separate one’s…

… now, some short additions to my previous post…

Especially when my instructions don’t work for you, an answer here may be necessary. :wink: – I’m not completely sure for MacOS as I don’t use it myself, but the general ability to use passkeys would at least need MacOS 13 or 14 I think. (PS: Though, I’m not sure again, how much it is dependent on the OS when mainly Bitwarden and the browser interact for passkey usage…)

And for Safari, at the very least, I think you need Safari 13 (and above), but I didn’t dig too deep on that.

That sounds good and as I meant it :+1:, but to be perfectly clear as I could have expressed it more clear before: the desired (passkey-)domain mustn’t be on the “Excluded domains” list of your browser extension.

I think my instructions already showed, that you have to see the “save passkey prompt” from Bitwarden, when you want to create and store a passkey in Bitwarden, so… when you never saw that prompt until now, then either you did something wrong (see my instructions), or your system prevented it (the latter: either by misconfiguration or by system limitations)…

PS: Just FYI, the Bitwarden Help Sites also have some info on passkey storage and usage: Storing Passkeys | Bitwarden

You’ve hit the nail on the head. I never get a save passkey popup. As I indicated before, I have the newest MacOS (15.3.1) and Safari (18.x). I’ve done everything you suggested and it just doesn’t happen. I only get the messages i reported.

It doesn’t work in IOS either (18.3.1). I get a popup that says ‘you don’t have any passwords saved for this app but you may be able to choose one from the app below’. BitWarden is presented as the app to choose from. When I choose BitWarden, I get a BitWarden popup that says that you have nothing saved for this app, but you can add a new entry. But I do have GitHub saved along with the URI. So even the BitWarden interface is getting it wrong.

Passkeys simply don’t work for BitWarden in the Mac. So I guess this needs to be elevated to a bug report. Also, when trying to set a passkey and failing to do so, BitWarden automatically adds the URI to excluded domains, without asking if you want to do that. This seems to me to be a additional and maybe related bug.

Since you don’t use a Mac, you’ve not encountered this. I’ve seen people complaining about it on various forums. But there are probably not a lot of complaints yet for several related reasons.

  1. Many people are still not familiar with Passkeys and they are not yet available for most applications.
  2. Apple makes passkeys (and saving passwords) so easy and seamless with its Passwords app that people are using it without even knowing that they are.
  3. BitWarden autofill is fairly cumbersome and complicated on the computer, requiring installation of a separate browser extension with unique settings options because it doesn’t work with the main BitWarden app. And many people use passwords more on their phones and tablets, where autofill is integrated, so they don’t yet know how to use it on the computer.
  4. As a result, people end up using dueling apps: Apple Passwords and BitWarden. This of course leads to confusion over which one has the correct authentication for which service and app. I’d like to use BitWarden as my default and only password keeper but it is difficult to do.

Ok… But still I don’t really understand, what actually does happen – instead of opening the “BW save passkey prompt” as it should be the case – when you click “Add passkey” (when you are logged in in GitHub and try to create a passkey)??

You didn’t write that before :wink: but it’s good to know, that your system should support everything!

Good… and (still) strange… :thinking:

I get that, but I would set that aside for the moment and focus on MacOS. (if we get that to work, maybe you can make a separate post later for clearing it up in iOS, too…)

I think we can rule that out now. I searched the forum a bit and found at least this post by @DoctorB , stating storing and using passkeys with Bitwarden, MacOS, and Safari does work. (and that post was from Nov 2023, so it does work for a long time!)

[PS: This posts mentions the Yubico demo site… but you can also test it with other authenticators, like Bitwarden… I just also tried it on Windows 11 with Vivaldi browser, worked also with Bitwarden… for all those, who might read it and want to try it: you have to register/sign in, then you can trigger the passkey-storage process for Bitwarden with e.g. choosing “internal authenticators”]

So here a few thoughts and ideas you could try now:

  • you wrote “Safari (18.x)”… I guess there were some bugs with Safari 18 also (a while ago, e.g. this was reported) → so first thing, please make sure, your Safari is also “up-to-date”

  • did you deactivate iCloud KeyChain / Safari’s password manager?

    • it/MacOS could intercept/block Bitwarden’s “save passkey” pop-up

    • here and here you can find infos for deactivating it and/or Safari’s browser password manager – something I found once: 1. Go to System Preferences > iCloud. 2. Uncheck the box next to “Keychain”

  • do you have some kind of pop up blocker installed or configured in Safari? (–> probably not, otherwise you wouldn’t see the other pop up, but maybe check nonetheless if something could block the popup)

  • could you have other extensions/addons installed on Safari blocking the popup? (–> here, it was another Firefox extension in the end, blocking “passkey usage” on MacOS)

  • you could also try another website, creating a passkey, if only just for comparison (maybe there’s some bug for you with GitHub at the moment?!)

    • you could try it with this forum! → if you’re logged in here, go this route: click your “profile symbol” (upper right corner) → “Profile” button at the bottom → Preferences → Security → + Add passkey → Confirm with your forum-password → then you should get the famous Bitwarden “save passkey prompt” we hope for…)
  • if only for testing purposes: you could try it (temporarily!) with another browser… Chrome (or another Chromium-based one like Brave) or Fifefox should also work (like in one of the links I already posted, Firefox works with passkeys on MacOS… BTW, this post here also “confirms”, Chrome and Firefox do work with passkeys on MacOS)

    → if it works with another browser, we might circle it down to “has something to do with Safari”… (but if it doesn’t work with another browser, it must be something else)

  • and if you’re still not convinced – or maybe indeed experience some kind of bug, who knows! – you can contact Bitwarden support and/or report it as a bug (“New issue”) on GitHub and see what feedback etc. you get!

  • … but maybe before you do that, I personally would also consider, to deinstall, delete the local storage and reinstall the BW extension… it also / always could be an “app hiccup”

    • but before you’d do that, make sure you have e.g. still another Bitwarden app logged in and/or all your login credentials for Bitwarden “within reach” (we won’t get you locked out :wink: )

PS: Here a screenshot, where you can find the + Add passkey button in this forum (as verbally described above):

Thanks I will try all of these things. I’ve already done all of the settings you mention but will double check with your links. The only pop up window I get is the one image I pasted in earlier. I never have seen the save a passkey pop up.

I don’t have any popup blockers or other problematic extensions. I only have a few. I’ll try another web site to see if it is just GitHub, but I have run into the same problem with at least a couple other sites. I’ll also try Firefox.

@DoctorB was writing in 2023. So it may be a problem with the new Sequoia MacOS 15 or with the new Safari 18 (I have the most current versions of both). I’ll do more testing to see if we can find out exactly where the problem is before filing a report.

Thanks again for all of your help.

1 Like

One quick response:

That was the “login popup”:

That is really strange, as you should see the “Log in with passkey?” pop up only when you try to login with a passkey… and not when you try to create / add one…

BTW, I also think that shouldn’t happen either… normally, only when you choose “Always for this site” (and therefore “dismissing” this popup permanently), the domain should get added to the “Excluded domains” (= “suppressing” / disabling the popup)…

Yes. That is the one.

So you’re logging in to github with a previously saved passkey.

I just logged into github with a passkey using Safari on a Macbook Air M1.
https://github.com/login
used the “sign in with a passkey button”
Everything seemed to operate as it should.

Initial thought is BW autofil is finding your github entries?
This is my browser bar showing the bitwarden extension with the number 2, I have 2 github accounts in my vault.
Do you have the same? maybe a 1 depending on how many github entries you have in your vault.

1 Like

One more success. I deleted the passkey for GitHub in the Apple passwords.app. Then I deleted it in GitHub. This allowed me to add a new passkey, which did finally bring up the BW save a passkey window.

So for GitHub, at least, in spite of what the web site implies, you can’t add a passkey for BW if you already have a passkey for another app.

This leaves the NSF site, which I tried again today. I have only 1 login entry for it, my ID and PW are correct. I have 2 URLs (depends on how one logs in), but all are in the same BW vault entry. I still don’t get the add a passkey window. I did have a passkey set in passwords.app but I deleted it.