Forum Discussion

snowy's avatar
snowy
Super Contributor
2 years ago

URL private link opening

https://1password.community/discussion/133387/1password-8-url-scheme

When using 1password7 those private links opened directly in the app to entry that they are linked to. However since moving 1password 8 it does the behavior described above of opening safari and than opening an app. Is there any to return to the previous behavior?


1Password Version: 8
Extension Version: Not Provided
OS Version: iOS
Browser: Not Provided

  • ed's avatar
    ed
    New Contributor

    The Microsoft OneNote desktop version copies both the url and the protocol link behind each other. Teams, SharePoint and Outlook seem to do the same.

    If the windows protocol link one fails it falls back to the web version.

    I asked chatgpt how this works:

    ---

    When sharing a OneNote link, it often includes two URLs:

    1. HTTP(S) Link โ€“ This is the cloud-based link (e.g., OneDrive or SharePoint) that lets users open the note in their browser.
    2. Local onenote: Protocol Link โ€“ This is a deep link that allows OneNote to open the note directly in the desktop app.

    How It Works

    When you paste a OneNote link, it often looks like this:

    https://onedrive.live.com/edit.aspx?resid=XXXXX
    onenote:///path/to/local/section

    • The first part (https://...) is a web link that works anywhere, even for users without the OneNote desktop app.
    • The second part (onenote://...) is a Windows protocol link, which directly opens the note in OneNote for a faster, local experience.

    How Does the onenote:// Protocol Work?

    • Windows registers onenote:// as a custom URL scheme.
    • When you click a onenote:// link, Windows recognizes it and launches OneNote, navigating to the specific section or page.
    • This only works if OneNote is installed and the local path is accessible.

    Why Include Both Links?

    • Web Access: Ensures the note is accessible from any device.
    • Faster Local Access: The OneNote protocol opens the note faster if the app is installed.
    • Fallback Mechanism: If the onenote:// protocol fails, the user can still use the web version.

    This method is similar to how Microsoft Teams, SharePoint, and Outlook sometimes provide both web and app-specific links in shared content.




  • Thanks again for reporting the issue. ๐Ÿ™‚

    -Dave

  • snowy's avatar
    snowy
    Super Contributor

    No worries. I just happen to come across it today.

  • snowy

    Thank you for the feedback. I can see your point and, while I can't make any promises, I've filed an issue with our development team so that they can look into having private links open directly in 1Password 8 on iOS.

    I did try replacing http with onepassword. And it does not open to the entry in 1Password 8. It just opens 1password

    It looks like this is a known issue, I've added your report there as well. I'm sorry for the inconvenience.

    -Dave

    ref: dev/core/core#24706
    ref: dev/core/core#20008

  • snowy's avatar
    snowy
    Super Contributor

    So you have to remove all of this prefix:

    https://start.1password.com/

    Than you prefix onepassword://open/i?โ€ฆ

    Either way it is an extra step. I would prefer to be able to get a link from the 1Password app that would open in the app.

    Cause for whatever reason you donโ€™t have manipulate the url to get it to open 1password 7.

  • snowy's avatar
    snowy
    Super Contributor

    I did try replacing http with onepassword. And it does not open to the entry in 1Password 8. It just opens 1password

  • snowy's avatar
    snowy
    Super Contributor

    To clarify with 1Password 7 I didnโ€™t have to change the URL.

  • snowy

    Thanks for the reply. Did you replace https:// with onepassword:// in the link? That should allow you to open the link directly with the 1Password app.

    -Dave

  • snowy's avatar
    snowy
    Super Contributor

    Yes, so I clicked on that generated link in a message I sent to my wife. I forgot I had 1Password 7 installed on my phone and it opened right to the entry. I uninstalled 1p v7. And tried again but it opens in safari first with the prompt do you want to open in 1Password.

  • Hello snowy! ๐Ÿ‘‹

    Thanks for the question. Are you referring to the link that is generated when you tap on Copy Private Link? If you are then you can tell iOS to open that link in the 1Password app directly by changing the https:// portion of the link to onepassword://

    Let me know if I misunderstood the question.

    -Dave