2FA OTP automated fill-in | 10 seconds implementation | hours saved daily

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Russ
    Senior Member
    • Feb 2022
    • 455

    2FA OTP automated fill-in | 10 seconds implementation | hours saved daily

    Hey guys!

    I am not sure if I can do it on the main source code myself but here is the deal.

    When 2FA code is needed all users who use apple passwords (majority in my case), they have open the app on computer or phone, then they copy code and go back to Safari to paste it.
    Very lengthy, there is an autocomplete from apple, that inserts the code automatically from the rolling one time code!

    Please add attribute:
    autocomplete="one-time-code"

    I know that linkedIn added using this way:
    <input type="text" autocomplete="one-time-code" name="otp" id="otp">

    But as far as I know we need just autocomplete="one-time-code" to be added to 'code' input.

    I tried modifying in console and it worked! Browser just inputs the code!

    The HTML autocomplete attribute lets web developers specify what if any permission the user agent has to provide automated assistance in filling out form field values, as well as guidance to the browser as to the type of information expected in the field.


    Please, let's add this.

    yuri

    Thank you


    Old code:
    <input type="text" data-name="field-code" class="form-control" autocapitalize="off" spellcheck="false" tabindex="1" autocomplete="new-password" maxlength="7">

    Replace with:
    <input type="text" data-name="field-code" class="form-control" autocapitalize="off" spellcheck="false" tabindex="1" autocomplete="one-time-code" maxlength="7">
    Attached Files
  • yuri
    Member
    • Mar 2014
    • 8621

    #2
    Duplicate request:

    Hey guys, as you know, apple added a way to automatically input OTP tokens to the website if you use apple passwords (90% of clients do). I see that LinkedIn added this proper field name, please, can we do the same? Thanks!
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    Working...