This is a staging forum for AgileBits, not an official support forum. Visit http://discussions.agilebits.com instead.

Precise URL Matching

jb510
jb510 Junior Member
<div class="IPBDescription">"Other Logins" submenu, etc.</div>I have about 40 passwords for one domain that hosts a dozen sites, those passwords are each for a different folder within that one domain however:

mydevserver.com/site1/

mydevserver.com/site2/

mydevserver.com/site3/

.

.

.



In fact I actually have 2-3 logins for EACH of those sub-sites. Admin, me and you for example. Is there any way to get 1Password to ONLY offer me the 2-3 passwords for .../site1/ when I'm there and .../site2/ when I 'm there, as opposed to offering me all 40 passwords for mydevserver.com?
«1

Comments

  • khad
    khad Social Choreographer
    edited November 2010
    Hi jb510,



    Thanks for asking! <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' />



    There is another really good thread on the topic of [url="http://forum.agile.ws/index.php?/topic/18-force-1password-to-show-login-only-for-an-exact-url/"]precise URL matching[/url] that you may want to take a look at before we go too far. One thing I would suggest checking is that the URLs for each login are as precise as they can be. For example, if they are all saved with [font="Courier New"]example.com[/font] as the full URL, you will most certainly be given all of the logins as options for each subfolder. If a login page is available at [font="Courier New"]example.com/site1/login.php[/font] then make sure that is the URL saved in 1Password.



    Please let me know how it goes!
  • jb510
    jb510 Junior Member
    Thanks Khad for the response.



    I read through that thread (I hadn't seen it),



    The URLs I had saved were excessively long and included a POST redirect, so that may of been the problem. I shortened them to::

    http://www.jb510.com/wlpconsultants/wp-login.php

    http://www.jb510.com/idyllwildhelpcenter/wp-login.php

    etc..



    this now seem to be working in FireFox, but is not in Chrome (I've recently moved my regular browser use to Chrome, but still use FF for FireBug and development work)



    Is this just not yet implemented in Chrome, or should it be working in Chrome?
  • khad
    khad Social Choreographer
    I believe that at this time Chrome does not separate logins the way the other extensions do. You will see a single list for all logins relevant to a particular domain rather than the behavior in Safari and Firefox which will use what we call "precise URL matching" to suggest the [i]most[/i] relevant logins for a URL and then list other logins for the domain in a submenu called "Other Logins." This feature is not yet present in the Chrome extension beta. Note also that the Firefox [i]toolbar[/i] also lists [i]all[/i] logins. The desired results will only be in the 1P toolbar button.



    I hope that helps. Please let me know!
  • jb510
    jb510 Junior Member
    [quote name='khad' timestamp='1287718203' post='13793']

    I believe that at this time Chrome does not separate logins the way the other extensions do. You will see a single list for all logins relevant to a particular domain rather than the behavior in Safari and Firefox which will use what we call "precise URL matching" to suggest the [i]most[/i] relevant logins for a URL and then list other logins for the domain in a submenu called "Other Logins." This feature is not yet present in the Chrome extension beta. Note also that the Firefox [i]toolbar[/i] also lists [i]all[/i] logins. The desired results will only be in the 1P toolbar button.



    I hope that helps. Please let me know!

    [/quote]



    Thank you! That explains a lot...



    It's frustrating, I love FF and have used it for years, but I really do find Chrome to be a much better core browser, it's just that I'm so dependent on a few extensions (GreaseMonkey, FireBug and 1Password) that are so much better for FF than on Chrome...
  • khad
    khad Social Choreographer
    That's why they call it the bleeding edge. Sometimes it just hurts. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_wink.png' class='bbc_emoticon' alt=';-)' />



    Chrome has got to be the most stable browser right now. I have not been able to crash even one tab in it. I am excited about Safari one day getting WebKit2 (which will make the multi-process features of Chrome available to [i]all[/i] WebKit-based apps). Who knows when that will be, though?



    Sigh.



    So we work harder at making the Chrome extension better and better. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' />
  • BassLineChris
    edited November 2010
    I have the same situation. Each subdomain gets the same choices for which password to use. When I look at the saved website in the 1Password app, the sites are different but only the main domain is highlighted, not the various subdomains. I'm assuming that 1Password is using the highlighted portion to pick from when offering password choices. I'd like to be able to tell it to use the whole address. (An automatic selection would be nice, too. If 1Password is supposed to be doing this automatically, then there is a bug somewhere.)



    Thanks.
  • khad
    khad Social Choreographer
    edited November 2010
    Hey BassLineChris,



    Welcome to the forums! <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' />



    I moved your post into this thread since I think the above advice may help you. Do also be aware of the protocol (http vs. https) as that threw me for a loop with my Twitter accounts for a while. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_wink.png' class='bbc_emoticon' alt=';-)' />



    Please let me know if you have additional questions or concerns.



    Thanks!
  • jeffhmcpherson
    jeffhmcpherson Junior Member
    Hi,



    I have a www.acme.com server that also hosts urls like wiki.acme.com etc. I have an identity for each app on that server. I also have server1.acme.ca, server2.acme.ca etc. I have multiple identities on all of them. On all of the *.acme.ca servers the cmd-\ shortcut pops up a list of 4 identities to choose from, I down arrow or mouse and choose the one I want. Works great. On www.acme.com cmd-\ always tries to log me in with the first entry in the identity list and never pops up the list.



    Related question: How does 1Password determine which identity to show on the [P] menu? I thought it might be most-commonly used but that isn't true for me. Can I adjust the order or define which identity is my favourite?



    Thanks,
  • khad
    khad Social Choreographer
    Hello Jeff,



    I merged your post with this appropriate thread. Please see above and let me know if you have any further questions. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' />



    Cheers,
  • Hi,



    I've been using 1Password for a long time and it works great. My campus has a single sign-on LDAP server and when I added credentials at the first site, it works everywhere. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/biggrin.gif' class='bbc_emoticon' alt=':D' /> very happy.



    Now the problem. Lately there are several sites on my campus that do not use the LDAP sign-on. So I have to create separate logins for them. The problem is that when I try Option-\ to automatically sign on using 1Password [b]for LDAP sites[/b], the program stops and asks which credentials to use. If I try login to sites with separate credentials, it logs me in immediately.



    I think I can solve the problem by adding an exact match for each site, but it just defeats the purpose of single sign-on. Is there a way to mark a credential to be default for the domain? Namely, if there is no exact match for that site, 1P will use the credential automatically.



    Thanks.



    - Seth
  • khad
    khad Social Choreographer
    Hello Seth,



    Welcome tot the forums! I merged your post with this appropriate thread. Please see above and let me know if you have any further questions. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' />



    Cheers,
  • littlehonda
    littlehonda Junior Member
    Hi,



    I have a couple different facebook accounts, so there are different login/password for the same domain. So when I am at the facebook homepage and use the CMD-\ keystroke to fill it in, it keeps pulling from the account I don't want. How can I "tell" 1password which one to use for the domain?



    Thanks,

    Glenn
  • If you already have the different facebook accounts set up in 1password then you should be able to go to your safari tool bar and click the 1P>Go & Fill Login then pick the facebook account you want to login with from 1password.



    If you only have the one facebook account created in 1password, simply open 1password, find your facebook account, mouse over the 1password facebook account, right click and copy, right click and paste were you want the second facebook account to be in 1password. Then just edit the second account to include the correct username/password information for your second facebook account.





    Hope that answers your question, if not let us know. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/smile.gif' class='bbc_emoticon' alt=':)' />
  • btw: If your not using Safari for a browser you can simply click on the facebook account you want to log into from 1password and it should open it up in your default browser.



    I think that is how it should work. All I use is Safari, so I have not test it.
  • littlehonda
    littlehonda Junior Member
    Thanks for the quick reply. The issue I have is with the cmd-\ keystroke, though. I know that I can click on the 1 password button on my safari toolbar and then choose which facebook login to use, but if I use the keystroke to automatically fill it, it picks ONE of the three account to fill with. My question is "how does it decide which account info to fill the form with if I only use the command slash keys to autofill?
  • thightower
    thightower &quot;T-Dog&quot; Agile&#39;s Mascot Community Moderator
    edited November 2010
    littlehonda





    Sounds like the URL matching is off on one of your logins



    [list=1][*]Open 1P and find the login thats always submitting, copy that url out of that entry.[*]Then find the second login (one not being offered up) enter edit mode and paste that url into the url field.[*]Now when you use the short cut you should get a prompt to pick the login. (Make sure it has a different name to make things easier on you). <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/smile.gif' class='bbc_emoticon' alt=':)' />[*]Repeat for the 3 rd account etc as needed / if needed.[/list]

    I had to do this for our otherinbox accounts the other day, I am confident this will fix you up. If not just get back to us.
  • khad
    khad Social Choreographer
    I merged and renamed this thread. I hope the above posts help explain the situation in addition to Tommy's useful, practical tip. If the URLs are identical (as Tommy describes) you will be prompted. If this is not the desired behavior, make sure you are using the most precise URL possible as described above, and 1Password will make its selection based on the the "precision" of the URL.



    Please let me know if you have any additional questions. Thanks!
  • mkrisch
    mkrisch Junior Member
    i'm trying to work out if there's any flexibility for which URLs prompt which auto-fill password options. if i have a URL site.org and a base username and password for all pages on that site, everything works well. but now let me introduce a new page XYZ.site.org which has a unique username and password. now for autofill, i need to select between the common and the unique. i notice in the app, that the URL listing looks for XYZ.site.org show the site.org part highlighted, which i assume ties into the auto-fill? how can i specific that for all site.org queries use the main, and only for XYZ offer the unique?



    thanks.



    -mark
  • khad
    khad Social Choreographer
    Mark, I have merged your post with (what I believe to be) the appropriate thread. Please see above and let me know if you have any further questions. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' />



    Cheers!
  • hi,



    just had a look at this topic, but I'm still not sure if subdomain matching can be done or not by 1password.



    I have my corporate site: mysite.org



    on which i have several accounts on specific subdomains:

    account A on wiki.mysite.org

    account B on mail.mysite.org

    account C on forum.mysite.org



    is it possible for 1password to diplay only 'account A' for 'wiki.mysite.org' when triggering with [cmd/ctrl] + / ?



    i'm using firefox on both mac and windows.



    thanks! cheers

    at3m
  • khad
    khad Social Choreographer
    at3m, is that not what is happening? It should be.



    Please see [url="http://forum.agile.ws/index.php?/topic/2338-precise-url-matching/page__view__findpost__p__13787"]my first post in this thread[/url] and let me know if your experience is different.
  • hi khad,



    nope this is not happening. 1password displays all passwords for this domain.



    even when i'm on 'mail.mysite.org' (full url saved in 1password, i'm using allbookmarks, so the link is correct as it comes from 1password itself) all 3 accounts are displayed when i hit [cmd/ctrl] + \



    any hints?



    thanks and regards

    at3m
  • khad
    khad Social Choreographer
    Could you provide the exact URLs? As I mentioned in [url="http://forum.agile.ws/index.php?/topic/2338-precise-url-matching/page__view__findpost__p__14524"]an earlier post in this thread[/url], please do be aware of the protocol you are using (i.e. http vs. https). If you don't want to post them here, you can send me a private message. I would love to take a look.



    Is it a Google Apps domain?
  • Hi khad,



    i've sent you a pm with my exact details.



    For the other readers here's a better example of my 'problem':



    [code]

    https://wiki.domain.org/index.php?title=Spezial:Userlogin&returnto=Hauptseite

    https://portal.domain.org/tp_lib/XXX/webaccess/portal.php?company=YYY

    https://webmail.domain.org/horde/imp/login.php

    [/code]



    This URL's are saved in 1Password. As I mentioned before, I'm also using AllBookmarks, so my Firefox gets the URL directly from 1Password.



    Although there are different URLs and different usernames, I'm getting the full list of passwords when hitting CMD + \



    cheers

    at3m
  • taupecat
    taupecat Junior Member
    I'm having the same problem. I seem to recall this working in previous versions of 1Password, but it stopped working recently.



    As a web developer on a web application, I have several different internal test domains to work with, and several accounts on each of these domains. Examples:



    https://devsrvr.mycompany.com/ (user1)

    https://devsrvr.mycompany.com/ (user2)

    https://devsrvr.mycompany.com/ (adminusr)



    https://intsrvr.mycompany.com/ (user1)

    https://intsrvr.mycompany.com/ (adminusr)



    In addition to these, we have the "utility" sites for project tracking, timesheets, etc. Each of these needs a different account.



    https://jira.mycompany.com/ (myaccount)

    https://tps.mycompany.com/ (myaccount)

    https://wiki.mycompany.com/ (myaccount)



    Not surprisingly, I have *A LOT* of accounts that in this scenario will match any given password prompt. Specifying by exact URL is important to keep from giving more options than I actually need on any given page.



    Thanks.
  • khad
    khad Social Choreographer
    What browser are you using?
  • +1



    I, too, would like to see a solution to this issue. More specifically, I would need an elegant way to manage multiple Google Apps accounts using Chrome on a Mac. I love the concept of 1Password and based on my brief experience with the trial version, the only thin that's keeping me from taking the leap is said feature. As a web dev it would be useful for the app to be able to handle multiple logins on any domain but I would be satisfied with just Google Apps for now, perhaps using the custom template method suggested in [url="http://forum.agile.ws/index.php?/topic/636-suggestion-custom-field-names-templates"]another thread[/url]. Currently, though, the lack of this feature is a deal-breaker for me, despite the deliciously beautiful UI and otherwise slick user experience.



    Janne
  • khad
    khad Social Choreographer
    edited February 2011
    Welcome to the forums, Janne!



    By default, Google domains avoid precise URL matching since many users [i]expect[/i] to be able to use any/all of their Google accounts across all Google services. If you wish to enable precise URL matching for Google domains please edit this file and remove the line containing "google.com":



    [code]~/Library/Application Support/1Password/Extensions/$BUILD/Resources/Rules/AvoidPreciseURLMatching.js[/code]

    Where [font="Menlo"]$BUILD[/font] represents the most recent build number (30868 at the time of this writing). Unfortunately, you will have to edit that file with each upgrade, but I hope that helps.



    Please restart your browsers in order for the change to take effect and let me know how it turns out.
  • Mark Sealey
    edited February 2011
    Stu,



    Of course your solution is the one I ought to have employed, had I seen the wood for the trees. So bowled over by [i]1P[/i] this last week or so, that I was over-thinking its use. Thanks!



    On a related point, what's the best way to avoid having multiple items in the 1P Safari button dropdown where an ISP/host (in my case Pair) has multiple webmail servers all for the same account, e.g.



    webmail.pair.com.login1/myname

    webmail.pair.com.login2/myname

    webmail.pair.com.login3/myname



    etc?



    I've got them all in [i]1Password[/i], but I'd like to isolate the webmail.pair.com.login element and make just that work. Can I?



    TIA <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' />.



    [quote name='stu' timestamp='1298477177' post='21236']…This might well be something you want to leave Safari's auto-fill enabled for, as I believe you can tell it to not fill usernames and passwords but still fill other elements.

    …[/quote]
  • khad
    khad Social Choreographer
    edited February 2011
    Mark, I have moved your post into the appropriate thread. Please check it out from the beginning and let me know if you have any additional questions! <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' />