How to fill both pages of USAA sign-in form with a single Login item.

jswright61jswright61 Junior Member

My bank, https://usaa.com, has a two page login, yuk. The first page asks for userid and password. No problem. The second page asks for my pin. I have followed the steps to add the second page to my saved login for USAA, but when I do, it overwrites the password for the site with my pin. I have edited the login manually and created a new field under web form details giving it the same name as the name attribute of the input field for the pin. When I do this, it fills in the pin field with my password for the site. I don't really want to create a second login for the site for page 2 as that will then disable the keyboard shortcut autofill for both pages.

Here is the html for the input field for the pin:

<input type="password" size="5" maxlength="4" pattern="[0-9]*" value="" name="table:row1:pin1" id="pinTextField" autocomplete="off" onkeypress="javascript :return isNumber(event)"/>

The password field on the first page has a name of j_password (which is captured properly on the login under web form details.

<input type="password" placeholder="Password" name="j_password" id="usaaPass" size="25" maxlength="12" class="password j_password" autocomplete="off" style="display: block;"/>

It's not a huge deal to type my pin each time, in fact I prefer that to creating the multiple login annoyance, but when I do type my pin and press enter, I am then prompted to update my password for the login. I don't want to disable the prompt for the website, because I rely on the prompt to remind me to update my login when the password changes.

This looks like a bug to me, rather than expected behavior. I'd appreciate any help you can provide if there is a workaround or better steps to take if the issue is user error. If it is a bug, I'd love to get updates on whether you can reproduce it and any guesstimate on when it might be fixed.


AgileBits Update:
See linked post below on how to create a Login item that can fill both pages with a single Login item.
image


1Password Version: 6.8.4
Extension Version: 4.6.12
OS Version: macOS 10.12.6
Sync Type: Families

Comments

  • brentybrenty

    AgileBits Team Member

    @jswright61: That does sound annoying. But it sounds like you probably just need to save a login for the second page (with the PIN), and then edit that login to put your password in the main password field there...

    Ah, I was confused by "this is the HTML...", but I edited your post and noticed that you'd put it in actual HTML tags, which of course weren't displayed as text. This is better.

    It looks like if you use a j_password field name for your actual password and pinTextField field as your PIN, that may work in a single login item. I'd still start with saving it on the second page though, and work from there. Unfortunately I can't get to a second page to test it myself though, so I look forward to hearing back from you. :)

  • jswright61jswright61 Junior Member

    Thanks for the edit assist. I should have checked the preview.
    Unfortunately, changing the name of the field did not work - it still fills the password into the pin field when they are part of the same login.
    When I experiment and save the pin page as a separate login, it names the field "table:row1:pin1" in the webform detail section and puts the pin in the password field up top. The webform detail entry has a key next to it, I assume indicating this field is linked to the main password field up top. This seems to be the limitation - that link can be either User, Password or nothing. There is no provision for a third link type which is what I need. Pretty sure I'm out of luck.

    Thanks for the response. Your team makes a fantastic product and provides outstanding support!

  • littlebobbytableslittlebobbytables

    AgileBits Team Member
    edited December 7

    Greetings @jswright61,

    So I don't know if this will work, I can't reach nor will ever be able to reach the second page but it's worth a shot. Below you're going to see a clump of text, please copy the entire block into the macOS clipboard. Next switch to 1Password and with a actual vault selected (not the All Vaults view) use the menu option File > New Item from Clipboard. You won't have seen this option before as it only appears if 1Password sees that the clipboard contents are a valid JSON representation of an item.

    After importing the item you will want to edit it and click the show web form details button. From there you can replace the three placeholder values with their correct ones.

    Now I believe this should fill the first page correctly but it's the page with the PIN that I just can't predict. 1Password evaluates a number of different ways of filling a page and I don't know how confident 1Password finds each approach. You seem to be up for trying though based on your post so I figure let's see if it works :smile:


    Edit: Removed for clarity. See updated post below.

  • littlebobbytableslittlebobbytables

    AgileBits Team Member

    Hi @jswright61,

    Jamie thinks that my suggested Login item will fail to correctly fill the second page but he has a thought on what might help improve the odds of it working. If you find that Login item as is doesn't work can you edit it once more and enter the web form details section. In there can you click on the silhouette of the key and select the blank option. What we're doing is telling 1Password that this item doesn't have a designated password. The hope is this stops one filling approach from being selected and instead the approach that we would like to see work being selected instead.

    If one of these works we'd love to learn which :smile:

  • jswright61jswright61 Junior Member
    edited December 7

    Jamie is my hero! I don't mean to denigrate @littlebobbytables, who, I guess in the world I'm constructing, is Robin?

    Anyway, I followed the @littlebobbytables's original advice and created the new item as described. It didn't work :(

    Then made the edit per Jamie's suggestion and it worked perfectly!

    Thank you all so much for your help!

    BTW, I thought It might be helpful if I exported the json for the final working login item, so here it is (I sanitized everything that I thought might be sensitive)


    Edit: Removed for clarity. See updated post below.

  • jxpx777jxpx777 Code Wrangler

    AgileBits Team Member

    Haha… I'm hardly any Batman. I neither rich nor good looking like Bruce Wayne. AgileBits is more like The Guardians of the Galaxy. Everyone contributes their particular skills and expertise but we are one team working to stop the bad guys. :chuffed:

    But in any case, I'm glad my little tidbit was able to push things one step further and get the Login working for you.

  • brentybrenty

    AgileBits Team Member

    (Pretty sure he's Batman.) :naughty:

  • I'm also a USAA customer, and I was all set to try @littlebobbytables suggestion with @jswright61's modification. I coped the text, headed to my 1Password, selected "New Item from Clipboard," and got the alert "You can't create a new item from clipboard. Please make sure that the clipboard contains valid data and that the selected vault supports items of this type." Then I read some more support articles and wondered whether I had to explicitly select my vault somewhere - but I can't see any way to do that! I'm fine with the coding and tweaking, but how the heck do I get it into 1PW to begin with??

  • bundtkatebundtkate

    AgileBits Team Member

    @amhoskinson: You do need to select the vault you want to create your item in. Choose 1Password menu > Switch to Vault and select the vault you'd like this item to live in. If you have All Vaults selected, you certainly will run into trouble, so give this a try and let us know if it's able to get things working for you. :chuffed:

  • Thanks for the reply, @bundtkate. I'm not seeing Switch to Vault under my 1Password menu - or any menu, for that matter. What am I missing??

  • bundtkatebundtkate

    AgileBits Team Member

    @amhoskinson: Ah-ha, you only have one vault, so you're not seeing that option and shouldn't need to select one. I gave this method a try with just a Primary vault and was able to create the item myself. Could you share what version of 1Password for Mac you're using? Do you have any software installed on the Mac that might be clearing your clipboard before you're able to create the item, by chance?

  • @bundtkate, I'm running v6.8.4 of 1PW with 1 vault only, my Primary. I have no software that clears my clipboard (and tested that). I can copy the full block of code upthread, but I get that pesky alert when I select Import from Clipboard. In fact since Import from Clipboard is selectable, 1PW has to be recognizing that it's JSON, right?

  • bundtkatebundtkate

    AgileBits Team Member
    edited December 5

    @amhoskinson: On a lark, I decided to try creating the item from jswright61's text and in that case I get the same error. Give this a try -- create the item by copying the block of code littlebobbytables shared and using File > New Item from Clipboard, then edit this item and enter the web form details section. In there, click on the silhouette of the key and select the blank option as Jamie suggested (by way of littlebobbytables. This should allow you to create the item and leave you in the right place. :+1:

  • I have no "create from clipboard" option under any menu or tab.

  • brentybrenty

    AgileBits Team Member
    edited December 7

    @amhoskinson: I think the forum is mangling it a bit, and certainly if you're getting an extra space or something that can cause some trouble too. Try this:


    Edit: Removed for clarity. See updated post below.

  • Awesome! Thanks, @brenty! Your code plus Jamie's tweak worked PERFECTLY. Thanks so much.

  • brentybrenty

    AgileBits Team Member

    Sure thing! Glad that helped. We're here if you need anything else. :)

  • littlebobbytableslittlebobbytables

    AgileBits Team Member
    edited December 7

    Below you're going to see a clump of text, please copy the entire block into the macOS clipboard. Next switch to 1Password and with an actual vault selected (not the All Vaults view) use the menu option File > New Item from Clipboard. You won't have seen this option before as it only appears if 1Password sees that the clipboard contents are a valid JSON representation of an item.

    After creating the new item you will be instantly in edit mode. Click the show web form details button. From there you can replace the three placeholder values with their correct ones.

    The Login item will not display a password whilst viewing the item but this is a necessary trade in order to correctly fill the username and password on the first page and the PIN on the second.

    {
        "URLs": [
            {
                "overview": {
                    "label": "", 
                    "url": "https://www.usaa.com/inet/ent_logon/Logon?redirectjsp=true"
                }
            }
        ], 
        "categoryUUID": "001", 
        "details": {
            "fields": [
                {"designation": "username", "name": "usaaNum", "type": "T", "value": "username"}, 
                {"name": "usaaPass", "type": "P", "value": "password"}, 
                {"name": "pinTextField", "type": "P", "value": "1234"}
            ]
        }, 
        "overview": {
            "ainfo": "username", 
            "ps": 1, 
            "title": "USAA", 
            "url": "https://www.usaa.com/inet/ent_logon/Logon?redirectjsp=true"
        }, 
        "sectionName": "U"
    }
    
  • jswright61jswright61 Junior Member

    It seems that my comment above where I pasted sanitized export is confusing people. My sincere apologies. My intent was to show all the fields of the working item. I realize now that that export adds very little substance to the discussion and can be taken by someone reading this thread as a more complete string to copy to the pasteboard. If I could edit that particular comment I would. Since this comment is down the thread a bit, it may not be seen (Cut the red wire... After you cut the blue wire). If someone at Agilebits has the power to edit and comment my earlier comment, please feel free to do so if you don't mind re-writing history for the sake of clarity. Same goes for just deleting that comment. If I have the power to edit or delete that comment, I can't figure out how to do it, but I would be happy to if shown how.

  • littlebobbytableslittlebobbytables

    AgileBits Team Member

    Hi @jswright61,

    Don't worry, we'll get everything tidied up. I'm just looking for a bit of internal confirmation and then we'll make sure everything points to a good source that should work for everybody with no mucking about :smile:

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file