op-vscode icon indicating copy to clipboard operation
op-vscode copied to clipboard

Unable to use with multiple accounts

Open thenbe opened this issue 2 years ago • 8 comments

Your environment

op-vscode version: 1.0.2

VS Code version: 1.71.2

CLI version: 2.7.1

OS: Ubuntu 22.04

Steps to reproduce

  1. Command Palette > 1password: choose acount OR 1password: choose vault
  2. Choose one of the listed accounts. a. FWIW, both the listed acounts here have my.1password.com in light grey text displayed next to them.

What happened?

vs code error toast popup: Error executing CLI command: found multiple accounts for filter "my.1password.com".

What did you expect to happen?

Be able to use one of the accounts. Be able to choose a vault belonging to one of the accounts

Notes & Logs

["INFO" - 9:55:07 PM] Starting 1Password for VS Code.
["INFO" - 9:55:07 PM] Extension Version: 1.0.2.
["ERROR" - 9:55:15 PM] Error executing CLI command

thenbe avatar Sep 30 '22 19:09 thenbe

I'm having this issue. Does anyone know if there is a workaround?

matthewsommer avatar Dec 10 '22 00:12 matthewsommer

label

Same issue here. Keen for a workaround

djvickery avatar Feb 17 '23 08:02 djvickery

Also same issue, looks like it's filtering on the server address which if you use multiple accounts directly from 1password it'll fail.

derrickmehaffy avatar Jun 05 '23 21:06 derrickmehaffy

Same issue. Any resolution?

phillipshaong avatar Jun 26 '23 17:06 phillipshaong

Also experiencing the same issue, any chance of seeing this bug get fixed soon?

ericmoolin avatar Jul 26 '23 23:07 ericmoolin

Thanks all for filing and chiming in on this issue. I think the fix here could be to set the account flag to a User ID as opposed to the Account URL, which is supported by the global flags. Some exploration is needed. The team will try to get to this soon, but it's considered open to work on if anyone is up for it.

jodyheavener avatar Sep 20 '23 18:09 jodyheavener

Still an issue here. Was looking to get a new team setup with the .env but no joy

james-beston avatar Oct 03 '23 12:10 james-beston

Same issue here

cabralje avatar Mar 27 '24 15:03 cabralje

Have the same issue.

swift-develop avatar Jul 11 '24 02:07 swift-develop

If anyone is still experiencing issues with this, sign out of your accounts on the desktop app and sign back in. Make sure when you do the browser sign in that each account your signing into is using a unique subdomain. Example yourbusiness.1password.com. For some reason my personal and my work account had both been registered into the app with my.1password.com which was causing the conflict.

ericmoolin avatar Jul 15 '24 19:07 ericmoolin