Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
JuCos
3 years agoOccasional Contributor
Shortcuts integration
Hello everyone!
Are you thinking of integrating support for the Shortcuts app in the iOS and macOS versions (to offer the ability to open a particular item for example).
Every day when I arrive at work I open 1Password to check my 2FA code to log into my company account. We can imagine creating automations allowing to open an item at the arrival in a particular place for example.
Can't wait to see what you're up to ;)
1Password Version: 8.7.0 (80700045)
Extension Version: Not Provided
OS Version: iOS 15.4.1
- JuCosOccasional Contributor
Wow @imaldonado, very nice reflection on the possible uses of Shortcuts, it's impressive!
This app is clearly underused while its potential is huge (and keeps growing with OS updates) - Former Member
I have a shortcut that I use whenever I'm sending a private link, which automatically replaces the https:// portion with the onepassword:// direct protocol mentioned above. In 1PW 7, the "Copy Private Link" option opens the standard iOS Sharing dialog rather than how version 8 simply places the link on your clipboard, which allows me to then select my Shortcut and end up with the link I want (see below).
Instead, I would now have to paste the copied link somewhere, select it, and hit Share to do the same thing which is definitely more of a hassle. Could we get the standard sharing dialog back?
Per @chadseld's request for other uses of potential integration with Shortcuts, I have several.
I regularly interact with SSH or various REST APIs through Shortcuts, providing API credentials which I'd love to be able to retrieve from 1PW. I envision being able to right click on an entry in 1PW to copy its UUID, and then passing that UUID to 1PW from Shortcuts to retrieve the secret during execution (obviously after 1PW authenticates me).Being able to programmatically create new 1PW entries would also be huge. I have Shortcuts which use APIs to create accounts for web services, or connect to a Mac via SSH and create new user accounts, and allowing me to create new 1PW entries similar to how 1PW CLI can but using variables generated during the Shortcut's run (such as Vault, Template, Username, Password, etc) would save me a ton of time manually putting all this info into 1PW.
On the Mac, a lot of this could be accomplished within Shortcuts by running a bash script that invokes 1PW CLI, but since there's no CLI option on iOS this limits things dramatically. Shortcuts integration could essentially almost be "1PW CLI for non-developers", allowing regular users the ability to interact with 1PW in a powerful yet still user friendly way. It would appeal tremendously to the Shortcuts community as well since there's currently very poor support for managing sensitive data, leaving many users saving secrets in plain text within a shortcut or using very complicated work-arounds involving encrypting info using javascript libraries which are not at all user friendly.
- 1P_Ben
1Password Team
Very good. 👍️ I've done some asking around on the other issue and hope to have answers to share soon.
Ben
- cortigOccasional Contributor
Indeed 1P_Ben. Didn’t mean to highjack the thread here: I was just mentioning that the same feature wasn’t consistently supported on all platform. I sure wasn’t expecting a follow-up for the Mac issue here.
Obviously I do care about URL schemes support in 1Password so I wanted to follow this thread as well.Corentin
- 1P_Ben
1Password Team
Let's move this discussion over to the desktop category then, please. I don't think it relates to what the OP is asking for (opening 1Password to a particular item). It looks like there is already a recent thread on your situation.
Ben
- 1P_Ben
1Password Team
- cortigOccasional Contributor
@chadseld
We already support a number of URL schemes, so this should already be possible.
Now… if only that could be re-implemented as well in 1Password for Mac…………………
;-)Corentin
- Former Member
I'm happy that works. Unfortunately, there is no URL scheme for accessing individual elements. That sort of thing can be done on the desktop or on a server using the command line interface (https://developer.1password.com/docs/cli/), but not on mobile.
- JuCosOccasional Contributor
Great, thank you very much, it works really well!
To go even further: do you know if it is possible, via an URL scheme, to access directly to one of the elements?
The idea would be to ask for the "one-time password" item on this log, and display the result in a notification (with the "display result" action of the Shortcuts app)