#8156 Add autofill hints to allow browsers to handle password and OTP fields
Opened 4 years ago by tair. Modified 4 years ago

Request for enhancement

As a user, I want to autofill Safari-generated password in freeipa/ui password change/reset dialogs.

Issue

FreeIPA web UI change/reset password dialogs don't play well with Safari: keychain-generated passwords don't fill in old and new password inputs

Steps to Reproduce

  1. go to profile -> change password
  2. current password field should be automatically filled with previous password from Safari keychain
  3. OTP field should suggest filling with code from SMS (if SMS OTP used)
  4. new password fields should be filled with keychain-generated one.

Screen recording here: https://imgur.com/PwPTYsD

Actual behavior

Old, new password and OTP are not filled with generated values and SMS codes

Expected behavior

New password and OTP fields should be filled with proper generated password and OTP (if code is coming over SMS)

Version/Release/Distribution

  1. Reproducible in version 4.6.4
  2. Reproducible at https://ipa.demo1.freeipa.org

Additional info:

Apple guidelines on properly enabling password autofill for Safari
https://developer.apple.com/documentation/security/password_autofill/enabling_password_autofill_on_an_html_input_element


This is not Safari-specific, using autofill=... would work with other browsers too.
For implementers: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete

Metadata Update from @pcech:
- Issue tagged with: Eagle

4 years ago

Login to comment on this ticket.

Metadata