How to implement the "Set Up Codes In" feature

Hello,

I have a password manager app and have noticed a new feature in AutoFill & Passwords called "Set Up Codes In". I see that my competitors have been able to implement this feature but cannot find any documentation on how to do this.

How can I make it so my app can support this feature. Any help to pointing me to the documentation or otherwise would be greatly appreciated. Thanks! //Ray

Answered by Apple Staff in 834445022

Hi! Apps that support the otpauth:// URL scheme are displayed in that section and available to be set as the default handler.

You may also be interested in a related API for providing one time codes for AutoFill: https://developer.apple.com/documentation/authenticationservices/providing-one-time-passcodes-to-autofill?language=objc

Accepted Answer

Hi! Apps that support the otpauth:// URL scheme are displayed in that section and available to be set as the default handler.

You may also be interested in a related API for providing one time codes for AutoFill: https://developer.apple.com/documentation/authenticationservices/providing-one-time-passcodes-to-autofill?language=objc

Thank you so much!!!! I spent hours trying to find this and the my other question. Even used AI (boy did it send me down the wrong path) with no luck. Thanks again!!!