OTP, automated fill-in from apple passwords

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Russ
    Senior Member
    • Feb 2022
    • 510

    #1

    OTP, automated fill-in from apple passwords

    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!
    Attached Files
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9536

    #2
    https://forum.espocrm.com/forum/gene...ily#post114599
    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

    • yuri
      EspoCRM product developer
      • Mar 2014
      • 9536

      #3
      Hi,

      Is only `autocomplete="one-time-code"` enough to make it work? It is not to be the case, maybe now it's enough.
      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

      • Russ
        Senior Member
        • Feb 2022
        • 510

        #4
        Hey yuri ,

        Regarding duplicate:
        My bad, honestly forgot I already posted.

        >Is only `autocomplete="one-time-code"` enough to make it work?

        Yes, I added in console this and it worked on my browser until I reloaded the page.

        Please adjust:
        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">​

        Thank you!

        Comment

        • Russ
          Senior Member
          • Feb 2022
          • 510

          #5
          yuri, Thanks man!

          SUCH A FREAKING RELIEF, one click to add OTP from iPhone/Mac (Safari)

          Comment

          Working...