Adding custom Internet Account

Hi,

I was going to use the Accounts framework to attempt to add a custom internet account so that our users can authenticate to our IdP (OAuth2) for their mail accounts.

When using the Accounts framework, I got this warning:

'ACAccountStore' was deprecated in iOS 15.0: Use appropriate non-Apple SDK corresponding to the type of account you want to reference instead

Is there any documentation on how to code/add custom Internet Accounts to macOS/iOS?

Adding custom Internet Account
 
 
Q