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's avatar
JuCos
Occasional Contributor
3 years ago

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

  • Former Member's avatar
    Former Member

    Here is the way to format the URL so that it opens directly in 1Password...

    onepassword://view-item/i?a=account_id&v=vault_id&i=item_id

    Thankfully, the account_id, vault_id, and item_id parts are filled in when you choose "Copy Private Link".

    The "Copy Private Link" URL looks something like this:
    https://start.1password.com/open/i?a=TAHGR7OUSNTUOU97&v=km7bssnth36dhnqy4353u&i=cgfsneothuoeu24q

    Change the first part from https://start.1password.com/open to onepassword://view-item.

    That should open the item directly in 1Password without going through Safari first.

  • Former Member's avatar
    Former Member

    That certainly is not ideal. I'll experiment and see if I find anything.

  • JuCos's avatar
    JuCos
    Occasional Contributor

    Well, it works but:
    1. The URL first opens Safari
    2. Charges xxx.1Password.com
    3. Ask customer if he allows to open 1Password app
    4. Need to touch “Allow”
    5. Then opens the app on the wanted item…

    Not very fast at this time… :-/

  • JuCos's avatar
    JuCos
    Occasional Contributor

    Wow, I didn't know that 1Password supports URL shemes, that's a very very good news !
    I'm going to test that ;)

  • Former Member's avatar
    Former Member

    Thanks for the feedback JuCos.

    That's an interesting use of automations. I would love to hear more ideas if anyone has them.

    The scenario you describe can be built using a URL scheme. We already support a number of URL schemes, so this should already be possible.

    Find the item in question in 1Password, and while viewing its details, tap the '...' menu in the upper right corner. Then tap "Copy Private Link". This will place a URL on your clipboard. When that URL is opened, 1Password will show you the item. You can paste it into the Safari address bar to test it.

    Now, build your geofenced Shortcut and have it open that link when you run it.