WICG / sms-one-time-codes

A way to format SMS messages for use with browser autofill features such as HTML’s autocomplete=one-time-code.
https://wicg.github.io/sms-one-time-codes/
Other
110 stars 12 forks source link

Format is inconsistent with iOS docs #18

Open jyasskin opened 11 months ago

jyasskin commented 11 months ago

https://developer.apple.com/documentation/security/one-time_codes/enabling_autofill_for_domain-bound_sms_codes says that the embedded domain is introduced with %. https://wicg.github.io/sms-one-time-codes/#format says it's introduced with @. Which is it?

instanttim commented 1 month ago

I think the docs were updated. @ for the domain name, then after the #code, optionally a % for the domain name of an embedded iframe (if necessary)