Passer au contenu

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.

This step is redundant if you have already configured Sign in with Apple on Android.

Please follow the Guide here to generate the service.

  1. Go to your Service ID Configuration

    In the Apple Developer Portal, navigate to Identifiers > Services IDs and click on your service ID.

  2. Configure Sign in with Apple

    Click on Configure next to Sign in with Apple.

    apple_dev_configure_login

  3. Ajouter the Return URLs

    Click on the + button to add a new return URL.

    apple_dev_return_url_plus

  4. Ajouter the Return URLs

    Add your domain for your web application in Domains and Subdomains.

    You CANNOT add localhost or 127.0.0.1 as 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 is https://my-app.com and you will call Apple Login from /login, you should add https://my-app.com/login as the return URL.

    You MUST Ajouter both the domain with a trailing slash and without a trailing slash.

    apple_dev_return_url_add

  5. Enregistrer the changes

    1. Click on the Next button to save the changes.
    2. Click on the Save button to save the changes.
  6. You should be ready to Test the Connexion for JavaScript. Please Remarque that you cannot Test from localhost.