Do I have to use the AuthenticationServices for Apple sign in on iOS?

Do I have to use the AuthenticationServices framework when I implement Apple sign in into our iOS app or can we also do the OAuth flow within the browser and a custom identity server like IdentityServer4?


The guideline only says we have to provide the Apple sign in functionality for but not if we have to use the framework for that.

May my app get rejected if I do not use the AuthenticationServices framework?