integrating Cocoa apps with 1Password

psi
psi
Community Member

Hi,

I would like to integrate the Mac app I'm working on with 1Password, the same way browsers like Chrome do that. I.e.: user is in a password field in my app, they press Cmd+\, 1Password's panel appears rolls down from the top menu bar, if necessary the user unlocks it and chooses an entry from the list, the password is copied to the password field in my app. And also: user enters a password twice when setting it up, is offered to save it in 1Password.

Is something like this possible?

Comments

  • Rad
    Rad
    1Password Alumni

    Hi @‌psi,

    Thank you for wishing to integrate 1Password with your Mac app.

    1Password for Mac detects login information from browsers when they have the extension installed. Unfortunately, 1Password cannot interact with login fields from native Cocoa apps, because the extension only works with the browser.

    If you still wish to integrate 1Password you can take a look at the 'bookmarks-default.json' file located in "~/Library/Application Support/1Password 4/3rd Party Integration" (for our website version). This file will be created only if you enable the option "Enable integration with 3rd party apps" in Preferences > Advanced.

    You can also take a look at our blog post Developers: Here’s how to add a little 1Password to your iOS apps (Update 2x). It's for iOS, but I'm sure it might give you some cool ideas :-)

    Cheers!

This discussion has been closed.