autofill national ID number in login site in Safari on Mac

codeskipper
codeskipper
Community Member
edited November 2022 in 1Password in the Browser

In Safari, the national ID number field in a form on the Norwegian national ID service called BankID is not filled correctly somehow.

The 11-digit number is filled in by the 1passord extension, but the formatting is apparently wrong. When copying and pasting the number from the 1password app, the number is formatted with a space on the site, even though none is entered. E.g. "12345678901" is represented as "123456 78901". When using the extension to autofill, the number is presented without the space on the site and is not accepted. The 1password extension in Chrome works OK on the same site as well, but I prefer Safari.

If anyone wants to test, visit for instance https://helsenorge.no and select "Logg inn" and "BANKID" to get to the site I was referring to: https://login.bankid.no and try to have the number autofilled.

Maybe this should be filed as a bug report, but this place was easier to find :-)


1Password Version: 1Password for Mac 8.9.8 (80908009)
Extension Version: 2.4.1
OS Version: macOS 12.6.1
Browser:_ Safari
Referrer: forum-search:autofill national ID number in login site in Safari on Mac

Comments

  • Hey @codeskipper,

    Thanks for messaging us! I tested this website both on Safari and Chrome and was able to autofill the userID with the space. Could you try these steps and let me know if it works?

    1. Go to the website's login page.
    2. Type in your login information manually - don't click login.
    3. Right click the 1Password icon in your browser's toolbar.
    4. Select 'Save Login' and save it as a New Item.
    5. Refresh the webpage.
    6. Click on the Username field and select the new login you just created.

    If you are able to autofill successfully with the space, you can go ahead and delete your old login item in 1Password.

    Here is a video so you can follow along: https://share.cleanshot.com/Om7qyV

    Josh

  • codeskipper
    codeskipper
    Community Member

    Hi @josh.d_1p,
    Thanks for helping out. I tried your suggestion, and the resulting new 1pass item then has an actual space in the "username" value. It does autofill like you said, but when selecting the next step button "Neste", the response is "Fødselsnummeret må inneholde 11 siffer", which means the server didn't accept it as a 11 digit number.
    This is the same error result as with the 1pass item I had before which did not have a space in the "username" value, when testing in Safari. In contrast, the same old 1pass item without the space DOES get autofilled in Chrome as the server expects, and I'm then able to proceed with the next step in the MFA sequence. I which it did the same in Safari ¯_(ツ)_/¯
    Mart

This discussion has been closed.