# Apple Login

{% hint style="info" %} <i class="fa-bullhorn">:bullhorn:</i> NOTE :Before launching the app, ensure you have correctly set up the ADMIN LARAVEL and have added all necessary data through the admin panel.
{% endhint %}

{% hint style="info" %} <i class="fa-bullhorn">:bullhorn:</i> NOTE : Apple Login is only supported on iOS devices. If you are using Android, please choose another login option.<br>
{% endhint %}

{% hint style="info" %}
NOTE : Before running the app make sure you have import Collection json in Firestore database which we have provided.\
\
If you haven’t Firebase Project Account ? Click here for create project see the steps show in [Firebase Setup](http://127.0.0.1:5500/firebase_setup.html)<br>
{% endhint %}

### Follow below steps for Apple Login in your project :

1. In the left-hand menu, click **Authentication**.

2. In the Firebase Console, go to the Sign-in method tab and click on Apple. <br>

   <figure><img src="https://74030740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6o4UzjBZtMQpeq4oeh8s%2Fuploads%2FwPjTSmHV0EmEjrDRvOaR%2Fimage.png?alt=media&#x26;token=51524653-d754-4795-9383-23f767b8b062" alt=""><figcaption></figcaption></figure>

3. Find **Apple** in the list of providers and click the **Edit (✏️)** icon<br>

4. Enable the toggle for Apple Sign-In<br>

5. Enter the following required credentials from your Apple Developer account:<br>

6. Enter the following required credentials from your Apple Developer account:<br>
   * **Service ID**
   * **Team ID**
   * **Key ID**
   * **Apple private key** (from the .p8 file)  and then click  **Save** button.<br>

     <figure><img src="https://74030740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6o4UzjBZtMQpeq4oeh8s%2Fuploads%2FilzFqyW3IyRGlgbgEvHn%2Fimage.png?alt=media&#x26;token=a993f6b5-e6c3-418b-a66d-a79e83384fe9" alt=""><figcaption></figcaption></figure>

7. The Apple Login setup will be completed successfully.<br>
