2FA Code on TPLink Cloud does not populate properly

Options

When I try to login to my Omada account 1Password doesn't autofill the 2FA code properly - please see the screenshot. Seems it is pasting it to the first digit. Omada's implementation of that form is very weird, they have a input for each character of the 2FA code.

This happens on every browser.


1Password Version: 8.8.0
Extension Version: 2.3.7
OS Version: macOS 12.5
Browser:_ Chrome

Comments

  • JasonTh
    JasonTh
    Community Member
    Options

    The omada website is a trainwreck for 1Password... and frankly any password manager to handle.

    I came here today to make a suggestion to the support team and searched first (yah, I'm one of those people! :)

    1Password folks, anything you can do to make 1P work with this abomination of HTML?

    https://omada.tplinkcloud.com

  • leafstick
    leafstick
    Community Member
    Options

    I created a forum account to post this, then found your post. I'm having the same issue with the 2FA autofill.

    https://omada.tplinkcould.com

    browser: firefox
    OS: Ubuntu & Windows
    Extension version: 2.8.1

  • Joy_1P
    Joy_1P
    1Password Alumni
    Options

    Hey @leafstick, sorry about the filling issue that you're seeing. Because I'm unable to get to the 2fa field on the website in question, I'd like for you to collect the following and share it with us:

    1. Navigate to the site and autofill your username and password.
    2. On the one-time password page, right click the 1Password icon in your browser toolbar.
    3. Click Help and choose Collect Page Structure.
    4. 1Password will save a .json file to your "Downloads" folder.
    5. Open the file, copy and paste its contents to a response in this thread.

    You're also free to send that file to us via email at support+forum@1password.com. With your email please include:

    If you send an email, you should receive an automated reply from our BitBot assistant with a Support ID number. Please post that number here. Thanks!

  • leafstick
    leafstick
    Community Member
    Options

    Wow, thanks for getting back to me so fast! I wasn't expecting to hear from you. Here's the MFA page json:

    {
        "unparsedUrl": "https://omada.tplinkcloud.com/",
        "title": "Omada Cloud",
        "frames": [
            {
                "fields": [
                    {
                        "isHidden": true,
                        "opid": 0,
                        "type": "text",
                        "dataAttributes": {}
                    },
                    {
                        "htmlClass": "text-hint",
                        "isHidden": true,
                        "isReadOnly": true,
                        "opid": 1,
                        "tabIndex": -1,
                        "title": "TP-Link ID(Email)",
                        "type": "text",
                        "dataAttributes": {}
                    },
                    {
                        "htmlClass": "text-text password-text password-hidden ",
                        "isHidden": true,
                        "isUserEdited": true,
                        "opid": 2,
                        "type": "password",
                        "dataAttributes": {}
                    },
                    {
                        "htmlClass": "text-text password-text password-visible ",
                        "isHidden": true,
                        "opid": 3,
                        "type": "text",
                        "dataAttributes": {}
                    },
                    {
                        "htmlClass": "text-hint password-hint ",
                        "isHidden": true,
                        "opid": 4,
                        "type": "text",
                        "dataAttributes": {}
                    },
                    {
                        "htmlId": "login-remember-checkbox-29485074",
                        "htmlClass": "checkbox-checkbox",
                        "isChecked": true,
                        "isHidden": true,
                        "opid": 5,
                        "type": "checkbox",
                        "dataAttributes": {},
                        "label": "Remember Me"
                    },
                    {
                        "maxLength": 1,
                        "opid": 6,
                        "type": "text",
                        "dataAttributes": {
                            "index": "0"
                        },
                        "labelBefore": "Enter 2FA token."
                    },
                    {
                        "maxLength": 1,
                        "opid": 7,
                        "tabIndex": -1,
                        "type": "text",
                        "dataAttributes": {
                            "index": "1"
                        }
                    },
                    {
                        "maxLength": 1,
                        "opid": 8,
                        "tabIndex": -1,
                        "type": "text",
                        "dataAttributes": {
                            "index": "2"
                        }
                    },
                    {
                        "maxLength": 1,
                        "opid": 9,
                        "tabIndex": -1,
                        "type": "text",
                        "dataAttributes": {
                            "index": "3"
                        }
                    },
                    {
                        "maxLength": 1,
                        "opid": 10,
                        "tabIndex": -1,
                        "type": "text",
                        "dataAttributes": {
                            "index": "4"
                        }
                    },
                    {
                        "maxLength": 1,
                        "opid": 11,
                        "tabIndex": -1,
                        "type": "text",
                        "dataAttributes": {
                            "index": "5"
                        }
                    },
                    {
                        "formOpid": 0,
                        "htmlName": "file",
                        "htmlClass": "file-input",
                        "isHidden": true,
                        "opid": 12,
                        "type": "file",
                        "dataAttributes": {}
                    }
                ],
                "forms": [
                    {
                        "htmlAction": "https://omada.tplinkcloud.com/",
                        "htmlId": "fake-file_form",
                        "htmlMethod": "post",
                        "htmlName": "form",
                        "opid": 0
                    }
                ],
                "origin": "https://omada.tplinkcloud.com",
                "title": "Omada Cloud",
                "pathName": "/",
                "uuid": "ucqx3o"
            }
        ]
    }
    

    Also, I didn't mention this in the original post because it's not nearly as big of a deal, but when 1password fills the password on the previous page, the login button is greyed out until the user types a letter. So you have to type space, then backspace to proceed. Here's the json for the password page:

    {
        "unparsedUrl": "https://omada.tplinkcloud.com/login#controller",
        "title": "Omada Cloud",
        "frames": [
            {
                "fields": [
                    {
                        "opid": 0,
                        "type": "text",
                        "dataAttributes": {},
                        "labelBefore": "Enter your TP-Link ID to access Cloud Service."
                    },
                    {
                        "htmlClass": "text-hint",
                        "isHidden": true,
                        "isReadOnly": true,
                        "opid": 1,
                        "tabIndex": -1,
                        "title": "TP-Link ID(Email)",
                        "type": "text",
                        "dataAttributes": {}
                    },
                    {
                        "htmlClass": "text-text password-text password-hidden ",
                        "opid": 2,
                        "type": "password",
                        "dataAttributes": {}
                    },
                    {
                        "htmlClass": "text-text password-text password-visible ",
                        "isHidden": true,
                        "opid": 3,
                        "type": "text",
                        "dataAttributes": {}
                    },
                    {
                        "htmlClass": "text-hint password-hint ",
                        "opid": 4,
                        "type": "text",
                        "dataAttributes": {}
                    },
                    {
                        "htmlId": "login-remember-checkbox-731352429",
                        "htmlClass": "checkbox-checkbox",
                        "isChecked": true,
                        "isHidden": true,
                        "opid": 5,
                        "type": "checkbox",
                        "dataAttributes": {},
                        "label": "Remember Me"
                    },
                    {
                        "formOpid": 0,
                        "htmlName": "file",
                        "htmlClass": "file-input",
                        "isHidden": true,
                        "opid": 6,
                        "type": "file",
                        "dataAttributes": {}
                    }
                ],
                "forms": [
                    {
                        "htmlAction": "https://omada.tplinkcloud.com/login#controller",
                        "htmlId": "fake-file_form",
                        "htmlMethod": "post",
                        "htmlName": "form",
                        "opid": 0
                    }
                ],
                "origin": "https://omada.tplinkcloud.com",
                "title": "Omada Cloud",
                "pathName": "/login",
                "uuid": "5mv02n"
            }
        ]
    }
    
    
  • Hey @leafstick,

    Thank you for sending this over, I have filed two issues with our development team based on the details you have provided.

    I'm sorry for the trouble on this website, please let us know if there is anything else we can help with at all.

    ref: dev/core/core#6853
    ref: dev/core/core#20750

  • leafstick
    leafstick
    Community Member
    Options

    Thanks for the update. I appreciate how responsive your team has been in my various interactions. Much better service and product than LastPass (and fewer massive data breaches haha).

  • Joy_1P
    Joy_1P
    1Password Alumni
    Options

    @leafstick on behalf of the entire team, you are welcome! Feel free to reach out again if you need more help.

This discussion has been closed.