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

Login works on Mac but not iPad (Bookmarklet)

robertb
robertb Junior Member
i cannot get 1Password to fill in the login information on https://home.americanexpress.com/home/ca/en/home_p.shtml on my iPad. the site comes up with a slightly different URL in Safari on the iPad than in Firefox on my Mac. (the one on the mac is https://home.americanexpress.com/home/ca/en/home_c.shtml) home_c vs. home_p.



i've tried editing the URL stored in 1Password in different ways but no matter what i do, the site is not listed in the small pop-up window that i must enter my password into after selecting the "1Password Logins" bookmarklet.



I don't really know where to start looking. Any suggestions?



thanks,

robert

Comments

  • ibuckeye
    ibuckeye Junior Member
    Do the exact following:



    Edit

    click "username" field

    delete "username" and write "Userid"



    It works on my iPad with site: "https://home.mericanexpress.com/home/fallback.shtml?fs=y"



    Hope this helps
  • robertb
    robertb Junior Member
    [quote name='ibuckeye' timestamp='1282161268' post='9115']

    Do the exact following:



    Edit

    click "username" field

    delete "username" and write "Userid"

    [/quote]



    the username field already has "UserID" in it.

    the problem was not that the login is failing. the problem is that there is no login to select from in the little pop-up window that you get after selecting "1Password Logins."



    but i have solved the problem after realizing that once again, the data was not up to date in the bookmarklet itself. if 1Password is installed on the iPad, it should manage the link in Firefox. It is counter intuitive that i need to update the bookmarklet in 1Password on the mac, then sync the bookmarklet with safari on the mac, and then sync the iPad with the mac. this is really frustrating.
  • ibuckeye
    ibuckeye Junior Member
    You can check the html page source, the tag for login username field is not "UserID" but rather "Userid".
  • ibuckeye
    ibuckeye Junior Member
    I can login with "Userid" but not "UserID".
  • jpgoldberg
    jpgoldberg Agile Customer Care
    Hi robertb and ibuckeye!



    I hope that ibuckeye's great advice helped you with that login.



    For those who sync their data with 1Password on Mac or PC, 1Password on the desktop can be a great help with things like this because it can "learn" the internal details of a login page for you.



    Sometimes it will need to relearn it. Here's how to have 1Password on the Mac relearn these details (the instructions are similar for 1Password for Windows).



    Go to the web page in your browser on your Mac



    1. Enter your username and password, but DO NOT submit the form.

    2. Click the 1Password button in your browser's toolbar, and choose Save Login.

    3. Set the Replace <login-name> to update an existing Login item.

    4. Click the Save button.



    After this, 1Password will have figured out what the field names should be for that form and that will sync to your iPad.



    If you don't have 1Password for Mac or PC then you need to either manually inspect the HTML for the form itself (you should be looking for the XXXX in <input type=text name="XXXX" in the HTML source for the page). Alternatively, you can ask here and a helpful member of our community can tell you that the field name should be. As you've have seen, case does matter in these. "UserID" is not the same field name as "userid".



    Cheers,



    -j
  • khad
    khad Social Choreographer
    Additionally, the "1Password Logins" bookmarklet is static data that needs to be manually updated from time to time. A better solution may be to use the [url="http://help.agile.ws/____?javascript:window.location='onepassword://'+window.location"]Look Up in 1Password bookmarklet[/url] to have quick access to your current data in the 1Password app. (You will need to click that link on your iPad.)
  • I've been having a similar issue with CapitalOne myself. Their [url="https://servicing.capitalone.com/c1/login.aspx"]login page[/url] seems to have the username and password fields in an iframe, which is the only thing that I noticed out of the ordinary. Using 1Password to log in works great in both Safari and Chrome using their respective plugins, but it chokes in 1Password Pro on iPad. I haven't been able to view the field names in the page source since that is part of a separate page, which gives an error when viewed singly.



    The really odd thing is that when I try to manually copy and paste my username and password from the 1Password iPad app into the appropriate fields, the clipboard appears to have emptied itself. Perhaps this is some form of security feature causing the issue, since I'm trying to paste the data, not into the target webpage itself, but into another webpage in a frame. Now that I think of it that way, it's a pretty neat idea, but one that has proven to be quite a nuisance, since there is no way I could possibly memorize my password so that I could type it in manually. Hmm.



    On a possibly related note, Safari absolutely refuses to keep the aforementioned CapitalOne webpage in the Top Sites grid. What a pain.
  • khad
    khad Social Choreographer
    edited October 2010
    CapitalOne is a strange example. I was able to view the source of their login [font="Courier New"]iframe[/font] by right-clicking the area and selecting "View Frame Source." There only appears to be JavaScript in use when submitting the form. No onFocus or onMouseOver sorts of shenanigans. It would probably work just fine if it was not in an [font="Courier New"]iframe[/font] since, as I discovered testing this, Mobile Safari does not seem to allow pasting into [font="Courier New"]iframe[/font]s!?



    Check this out yourself by going to the W3 Schools [url="http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_iframe"][font="Courier New"]iframe[/font] test page[/url] on your iPad in Mobile Safari. I could not for the life of me get anything to paste in the search field within their [font="Courier New"]iframe[/font] example.



    The clipboard does not empty itself (as seen when attempting to paste anywhere else afterwards), but will not paste into an [font="Courier New"]iframe[/font]. I will pass this along but it may be impossible for 1Password to do anything about this until Safari — and, by extension, the WebView 1Password uses — is updated by Apple. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_sadsmile.png' class='bbc_emoticon' alt=':-(' />



    In the meantime, contact CapitalOne and make sure they know of this limitation. It may not only be affecting users of iPads but also those utilizing certain forms of assistive technology.



    This does not seem to affect the iPhone which could seem to indicate that this has been fixed in iOS 4 already. I do not have an iPhone with an older version of iOS handy, but if someone does, they could easily test this in iOS 3.x to see if it was present prior to iOS 4. Additionally, could someone running iOS 4.2 beta on an iPad chime in?



    Regarding the Top Sites issue, could you have removed the site at some point from your Top Sites in Safari for Mac? You could try resetting your Top Sites (Safari > Reset Safari… > CHECK ONLY Reset Top Sites).



    It does seem to be a unique situation, but I hope that helps explain it even a little bit. I'm sorry I don't have a better answer for you at this time.
  • [quote name='khad' timestamp='1286498611' post='12870']

    CapitalOne is a strange example. I was able to view the source of their login [font="Courier New"]iframe[/font] by right-clicking the area and selecting "View Frame Source." There only appears to be JavaScript in use when submitting the form. No onFocus or onMouseOver sorts of shenanigans. It would probably work just fine if it was not in an [font="Courier New"]iframe[/font] since, as I discovered testing this, Mobile Safari does not seem to allow pasting into [font="Courier New"]iframe[/font]s!?



    Check this out yourself by going to the W3 Schools [url="http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_iframe"][font="Courier New"]iframe[/font] test page[/url] on your iPad in Mobile Safari. I could not for the life of me get anything to paste in the search field within their [font="Courier New"]iframe[/font] example.



    The clipboard does not empty itself (as seen when attempting to paste anywhere else afterwards), but will not paste into an [font="Courier New"]iframe[/font].

    [/quote]



    Aye, you're right! I checked that out since you mentioned it. It's certainly an interesting problem.



    [quote]

    This does not seem to affect the iPhone which could seem to indicate that this has been fixed in iOS 4 already. I do not have an iPhone with an older version of iOS handy, but if someone does, they could easily test this in iOS 3.x to see if it was present prior to iOS 4.

    [/quote]



    You're absolutely correct on both counts: I hadn't tried it before, but the iframe copy/paste works fine on my iPhone4 running iOS 4.1; additionally, I dug out my old 3G, installed 1Password, and verified that pasting into the iframe is impossible in [i]iPhone[/i] OS 3.1.3.



    Not sure about versions prior to that, but it wouldn't surprise me if disabling pasting into iframes was considered a security feature, since the frame could easily contain code from a foreign, untrusted site. For example, if a malicious hacker compromised the CapitalOne server and set the iframe to load a form from their own site in order to collect login credentials, the browser's address bar would still say "http://capitalone.com," etc. If I hadn't viewed the page source to try to figure out what was going on, I wouldn't have even noticed that it was in an iframe, much less what page was surreptitiously being loaded. Scary.



    [quote]

    Regarding the Top Sites issue, could you have removed the site at some point from your Top Sites in Safari for Mac? You could try resetting your Top Sites (Safari > Reset Safari… > CHECK ONLY Reset Top Sites).

    [/quote]



    Yeah, I thought I was going crazy the first five or four times, and I've reset the Top Sites on a few occasions to get rid of clutter. I must have added it several hundred times by now and, without fail, it is once again absent, yet everything else sticks just fine. Just bizzarre.



    I certainly don't hold it against you guys for not proactively coding a workaround for the whole internet and every crackpot website's homegrown login page. Anyway, thanks for the info. I'm not too worried about it -- especially if it's working in iOS 4.2. My iPad needs that, like, three months ago, on so many levels.
  • khad
    khad Social Choreographer
    edited October 2010
    As is the case with iOS 4.x on the iPhone, pasting into an [font="Courier New"]iframe[/font] element works just fine on iPads running 4.2. The CapitalOne login is still not autofilled in 1Password yet, but we are looking into that as a separate issue. At least copy and paste works.



    [quote]I certainly don't hold it against you guys for not proactively coding a workaround for the whole internet and every crackpot website's homegrown login page.[/quote]

    Though we try. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_bigsmile.png' class='bbc_emoticon' alt=':-D' />