Skip to main content
Setting up Apple OAuth enables users to log in to your application using their Apple ID, offering a secure and seamless authentication experience. Follow this detailed guide to integrate Apple OAuth into your app:

Step 1: Access the Apple Developer Portal

Step 2: Sign In or Create an Apple Developer Account

  • Click Account then log in with your Apple ID and password, or create a new account if you don’t have one. Screenshot2025 08 20at15 47 34 Pn Screenshot2025 08 20at15 47 34 Pn

Step 3: Access Certificates, Identifiers & Profiles

  • After logging in, go to Certificates or Identifiers from the dashboard. Screenshot2025 08 20at15 47 34 Pn

Step 4: Obtain Your Team ID

  • Your Team ID is located in the top-right corner under Membership Information. Screenshot2025 08 20at15 47 34 Pn
  • Copy this to the Apple Settings page in bitLogin. Screenshot2025 08 20at15 47 34 Pn

Step 5: Register a New App ID

  • In the sidebar, go to Identifiers and choose App IDs.
  • Click the + icon to create a new App ID. Screenshot2025 08 20at15 47 34 Pn
  • Choose App IDs and click Continue. Screenshot2025 08 20at15 47 34 Pn
  • Select the App type and then click Continue. Screenshot2025 08 20at15 47 34 Pn
Fill in the necessary information:
  • Description: A description for your app.
  • Bundle ID: Choose Explicit and enter the name of your App ID, e.g., com.yourcompany.yourapp.
  • Under Capabilities, check Sign in with Apple and click Continue. Screenshot2025 08 20at15 47 34 Pn
  • Click Continue and then Register. Screenshot2025 08 20at15 47 34 Pn

Step 6: Register a New Service ID

  • Return to Identifiers and select Service IDs and click Continue. Screenshot2025 08 20at15 47 34 Pn
  • Enter your store name in the Description field.
  • Fill in your identifier, e.g., com.yourcompany.yourapp.
  • Click Continue to review and Register the new Service ID. Screenshot2025 08 20at15 47 34 Pn

Step 7: Configure Sign in with Apple

  • Go to Identifiers and select Service IDs. Screenshot2025 08 20at15 48 05 Pn
  • Choose the Service ID you created and enable Sign in with Apple.
  • Click Configure and fill in the following details: Screenshot2025 08 20at15 47 34 Pn
Complete the Web Authentication Configuration as follows:
  • Primary App ID: Select the App ID created earlier.
  • Domain and Subdomains: api.bitbybit.studio
  • Return URLs:
    https://api.bitbybit.studio/bitlogin/api/login/apple/callback
  • Click Next to confirm, then Save. Screenshot2025 08 20at15 47 34 Pn Screenshot2025 08 20at15 47 34 Pn

Step 8: Obtain Your Key ID & Private Key

  • In the sidebar, go to Keys and click the + icon. Screenshot2025 08 20at15 47 34 Pn
  • Fill in the Key Name, enable Sign in with Apple, and configure the same App ID as earlier. Screenshot2025 08 20at15 47 34 Pn Screenshot2025 08 20at15 47 34 Pn
  • Click Save and register the key. Screenshot2025 08 20at15 47 34 Pn
  • Download the key and copy your Key ID and Private Key to the Apple Settings in bitLogin. Screenshot2025 08 20at15 47 34 Pn Screenshot2025 08 20at15 47 34 Pn
  • Paste the private key directly into the Private Key field. Do not modify the key. Screenshot2025 08 20at15 47 34 Pn
  • Toggle the Use your store name on Apple login switch until it turns green. Screenshot2025 08 20at15 47 34 Pn
🎉 Congratulations! You’ve now configured Apple OAuth successfully.
I