OpenConext / Stepup-SelfService

Stepup Self-service interface
Apache License 2.0
2 stars 5 forks source link

Make sms form autocomplete="one-time-code" #295

Closed thijskh closed 1 year ago

thijskh commented 1 year ago

This allows the (mobile) browser to help autofill

MKodde commented 1 year ago

After merging this, I discussed this over some java with one of our front-end experts. He confirmed that this feature should be safe to use. Browsers should fall back on default behavior when they do not understand autocomplete="one-time-code". What their default value would be is not clear to me for every browser. But the major (mobile) browsers will support this just fine.