Missing Documentation for Email Based One-Time Codes

The One-time codes documentation details how to enable autofill for SMS based codes. However, there is no details about how to correctly implement autofill for email based codes.

I am observing the email based autofill works inconsistently when using email based OTC. In my application:

  1. There is latency of 10-15 seconds from when the email arrives to when it is available for autofill.
  2. After the autofill feature is used, the OTC email is not being deleted from the inbox automatically.

Without documentation, it's unclear to me what I might be doing wrong that is causing these side effects.

I found an ietf proposal for how autofill with email based codes might work, but it’s unclear if this is how Apple has implemented the feature: https://www.ietf.org/archive/id/draft-wells-origin-bound-one-time-codes-00.html#name-email

Existing docs for Autofill using SMS: https://developer.apple.com/documentation/security/enabling-autofill-for-domain-bound-sms-codes

Missing Documentation for Email Based One-Time Codes
 
 
Q