Skip to content

2FA authenticator app prefill not working in Safari #678

Description

@repli2dev

Describe the bug

When using Apple Passwords I expect that the Authenticator App 2FA code will be populated into the field when browser completion is selected, but it currently insert only part of the code and then send the form which fails the verification.

Steps to Reproduce

  1. Have Auth App configured in WP user and store password as well 2FA in Apple Passwords.
  2. Go to WP login in Safari
  3. Accept suggestion to fill password from Apple Passwords
  4. Accept suggestion to fill 2FA code from Apple Passwords
  5. The prefilled code is only partial and verification fails

Screenshots, screen recording, code snippet

No response

Environment information

WP 6.7.2
TwoFactor 0.13.0

Please confirm that you have searched existing issues in this repository.

Yes

Please confirm that you have tested with all plugins deactivated except Two-Factor.

No

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    TOTPTime-based One-time Passwords

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions