Apple Connexion for web browsers
Configuring the web login is not trivial. It’s more difficult than setting up Sign in with Apple on iOS but more difficult than setting up Sign in with Apple on Android.
Generating the service
Section titled “Generating the service”This step is redundant if you have already configured Sign in with Apple on Android.
Please follow the Guide here to generate the service.
Configuring the Return URLs
Section titled “Configuring the Return URLs”-
Go to your Service ID Configuration
In the Apple Developer Portal, navigate to
Identifiers>Services IDsand click on your service ID. -
Configure Sign in with Apple
Click on
Configurenext toSign in with Apple.
-
Ajouter the Return URLs
Click on the
+button to add a new return URL.
-
Ajouter the Return URLs
Add your domain for your web application in
Domains and Subdomains.You CANNOT add
localhostor127.0.0.1as a domain here.Then, add your domain with the
https://prefix and the path from which you will call Apple Login. For example, if your domain ishttps://my-app.comand you will call Apple Login from/login, you should addhttps://my-app.com/loginas the return URL.You MUST Ajouter both the domain with a trailing slash and without a trailing slash.

-
Enregistrer the changes
- Click on the
Nextbutton to save the changes. - Click on the
Savebutton to save the changes.
- Click on the
-
You should be ready to Test the Connexion for JavaScript. Please Remarque that you cannot Test from localhost.