Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use protocol handler to make a link to run "Open & Fill" for specific entry #82

Open
andrewxhonson opened this issue Jan 28, 2025 · 4 comments

Comments

@andrewxhonson
Copy link

I would love to be able to generate a link for a bookmark that automatically runs "Open & Fill" on an entry with the application handler. This would let me bypass repetitive basic authentication windows by replacing the link to the target with the link to the OP link. An HTTP link routing through 1Password's domain would be a secondary option if HTTP is necessary. Is this possible with available tools?

I searched and found this implementation of a similar functionality, for reference: mrjones2014/op.nvim@92245f2

@plttn
Copy link
Member

plttn commented Jan 28, 2025

Hi @andrewxhonson, do you mean opening a web link or a non-browser application? Open and fill is only able to fill into browsers.

With that said, I'm checking in on this for you to give you a more accurate answer.

@plttn
Copy link
Member

plttn commented Jan 28, 2025

I did a bit more digging here, and while it's possible to pass random_uuid=item_uuid as a query key/parameter in the URL of an item to have it be recognized by the 1Password browser extension to do an Open and Fill, I can't make any guarantees that that will stay the same in the future.

It's also possible to do Open and Fill on an HTTP basic auth window, however it's necessary to start on a page that isn't the domain you're trying to use basic auth with.

For example, if I had a HTTP basic auth prompt on autofill.me/protected, I could choose Open and Fill on that login item if I was on the new tab page, or example.com, or any other domain that wasn't autofill.me.

@andrewxhonson
Copy link
Author

Hey @plttn, thanks for the quick response. I was thinking of a web link, and Open and Fill on an HTTP basic auth window is the specific use case I was thinking of. Does the Open and Fill button connect to a link, or to JavaScript that could be turned into a link to a route on 1password.com? That would solve the issue of needing to be on a different site.

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks if no further activity occurs. 1Password employees have been nudged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants