Forum Discussion

chillhoof's avatar
chillhoof
New Contributor
12 months ago
Solved

Passkey and OTP autofill

Hi all,

when using Passkeys I am encountering a select few websites (PayPal, Amazon) that require an OTP on top of the Passkey. While I guess this is not how it should be implemented it is unfortunately an existing use case.

My problem is that 1Password does not autofill the OTP when signing in with a passkey. It doesn't even copy the OTP to clipboard. I have to manually fill it. Behavior can be reproduced on both Safari (iOS) and Firefox (Windows).

I saw posts dating back to early 2023 requesting this feature. Is this still in development?

  • 1P_Dave's avatar
    1P_Dave
    28 days ago

    1password_forum_user​ 

    Thank you for the follow-up! Our developers have looked into the issue and have found that iOS doesn't allow us to access the clipboard when a passkey is suggested by AutoFill. This means that 1Password for iOS can't automatically copy a one-time password to the clipboard unless 1Password's own window is open.

    That being said, iOS 18 should provide third-party password managers to fill the TOTP directly but it looks like a bug was introduced in recent versions of iOS 18 that prevents third-party password managers from doing so. The team is looking into filing feedback with Apple. 

    For the time being, the two best workarounds are: 

    1. If you're using Safari, then use 1Password for Safari to fill the one-time password on Amazon's website after you sign in using your passkeys: Fill one-time passwords
    2. Double-tap on the one-time password field on Amazon's webpage and then tap AutoFill > Passwords. Search for the correct login item and then tap on the three dots next to the one-time password and tap AutoFill.

    On macOS at least, 1Password steamrolls past the passkey prompt and just enters a password anyway on Amazon. I'd rather use passkeys, but auth being low friction matters more.

    You can turn off auto-submit for Amazon to avoid having 1Password fill your password and then submit your login credentials. Click on the 1Password icon in your browser's toolbar, click on the item for Amazon, then click on the three dots in the upper right corner and select Don't sign in automatically

    Let me know if you have any questions. 

    -Dave

    #31494
    #37860

9 Replies

  • campagnolo88

    I'm sorry for the impact to your workflow, hopefully the issue is fixed with a future update.

    -Dave

    ref: dev/core/core#31494

    • 1password_forum_user's avatar
      1password_forum_user
      New Contributor

      Has there been any progress on this? It's making it really frustrating to use passkeys.

      On macOS at least, 1Password steamrolls past the passkey prompt and just enters a password anyway on Amazon. I'd rather use passkeys, but auth being low friction matters more.

      On iOS... the workflow sucks.

      1. On the "email address" page, I get prompted to use a passkey. I have to close that, tap the email field, click the key instead (because the keyboard suggests the passkey) and then select the "password for this site" option.
      2. On the password page, I get prompted twice to use the passkey. I close the first one, then have to tap the key option in the bottom right to select the password option again.
      3. ... and after all that it still doesn't copy the OTP for me reliably.

       

      ... or use the passkey, and still have to go into 1Password and manually copy it over.

      • 1P_Dave's avatar
        1P_Dave
        Icon for Moderator rankModerator

        1password_forum_user​ 

        Thank you for the follow-up! Our developers have looked into the issue and have found that iOS doesn't allow us to access the clipboard when a passkey is suggested by AutoFill. This means that 1Password for iOS can't automatically copy a one-time password to the clipboard unless 1Password's own window is open.

        That being said, iOS 18 should provide third-party password managers to fill the TOTP directly but it looks like a bug was introduced in recent versions of iOS 18 that prevents third-party password managers from doing so. The team is looking into filing feedback with Apple. 

        For the time being, the two best workarounds are: 

        1. If you're using Safari, then use 1Password for Safari to fill the one-time password on Amazon's website after you sign in using your passkeys: Fill one-time passwords
        2. Double-tap on the one-time password field on Amazon's webpage and then tap AutoFill > Passwords. Search for the correct login item and then tap on the three dots next to the one-time password and tap AutoFill.

        On macOS at least, 1Password steamrolls past the passkey prompt and just enters a password anyway on Amazon. I'd rather use passkeys, but auth being low friction matters more.

        You can turn off auto-submit for Amazon to avoid having 1Password fill your password and then submit your login credentials. Click on the 1Password icon in your browser's toolbar, click on the item for Amazon, then click on the three dots in the upper right corner and select Don't sign in automatically

        Let me know if you have any questions. 

        -Dave

        #31494
        #37860

  • I’ve the same issue. I believe it was working few weeks ago but now it doesn’t. Probably a regression

  • Mirv

    I'm sorry for the inconvenience. Hopefully the issue can be fixed soon.

    -Dave

  • Mirv's avatar
    Mirv
    Super Contributor

    I've run into this problem with Amazon. I've had to go back to 1Password and copy the OTP and paste it in when logging in with passkey. Nice to see you guys are already on top of this.

  • chillhoof

    Thank you for the reply. I've done some more testing and I'm able to reproduce the issue that you've described on both iOS and on Windows. I see that our developers are already tracking this and hopefully it'll be fixed in a future update to 1Password.

    Note: On Windows, 1Password won't copy the one-time password to the clipboard but it should fill it automatically after using your passkey and that's the bug that the development team is investigating.

    For the time being, you'll need to manually copy your one-time password from 1Password and paste it into a website after using your passkey: Copy and fill passwords into apps that don't work with 1Password

    -Dave

    ref: dev/core/core#31494
    ref: dev/core/core#24349

  • chillhoof's avatar
    chillhoof
    New Contributor

    Hi 1P_Dave ,

    thank you for your qick reply.

    Your suggested settings work perfectly fine when using regular username/password + OTP.
    Unfortunately they do not work when using Passkey + OTP instead.

    This can be reproduced for both iOS and Windows (Firefox).
    When you input the Passkey the OTP is neither filled automatically nor copied to clipboard.

  • Hello chillhoof! 👋

    1Password uses the iOS native filling feature to fill your username and password into apps and you can have 1Password automatically copy your one-time password for an app or website to the clipboard so that you can paste it into the app when filling your login information:

    1. Open and unlock 1Password 8.
    2. Tap the icon for your account or collection at the top left and choose Settings.
    3. Tap AutoFill.
    4. Turn on "Copy One-Time Passwords".
    5. Go back to Settings.
    6. Tap Notifications.
    7. Turn on "One-Time Passwords".

    Then fill a username/password into the app again. You should see a notification that 1Password has copied the one-time password to your clipboard. You can then paste the one-time password into the app: Select, cut, copy, and paste text on iPhone - Apple Support (CA)

    When it comes to the website you can use our extension for Safari which does have the ability to fill the one-time password: Get to know 1Password for Safari on your iPhone or iPad

    -Dave