Apple Connexion on iOS
Let’s break down what you are going to need in order to Configuration Apple Connexion on iOS.
-
Configure the capabilities of your Application.
In order to do this, please open Xcode, click on
App
-
Make sure that you select the right target.

-
Please make sure that you add the
Sign in with Applecapability.

If you don’t see the
Sign in with Applecapability, configure the Account & Organizational Data Sharing -
Initialiser the Apple Connexion in your Application.
I am using Vue as my framework, the exact implementation will vary depending on the framework of your choice
// onMounted is vue specificonMounted(() => {SocialLogin.initialize({apple: {}})}); -
Créer a button that will begin the Connexion process.
Said button should call the following function:
async function loginApple() {const res = await SocialLogin.login({provider: 'apple',options: {}}) -
Run your Application on a PHYSICAL Appareil and Test it.
If you followed the steps closely you will see the following screen after clicking your button.

That’s it! You are all set.