To authenticate with Apple, you need to make sure you have an Apple Developer account and configure your app in the Apple Developer Console.

Once you have an Apple Developer account, follow these steps to authenticate with Apple:

1

Create or update an App ID

If you already have an identifier, skip to the next step.

  1. Go to the Identifiers section of the Apple Developer Console.
  2. Click on the ”+” button to create a new identifier.
  3. Select “App IDs” from the dropdown and click “Continue”.
  4. Fill in the description and bundle ID fields.
  1. Scroll down to the “Capabilities” section and enable “Sign in with Apple” for your App ID.
  1. Click “Continue” and then register the App ID.
2

Create or update a Service ID

If you already have a service ID, skip to the next step.

  1. Go to the Identifiers section of the Apple Developer Console.
  2. Click on the ”+” button to create a new identifier.
  3. Select “Services IDs” from the dropdown and click “Continue”.
  4. Fill in the description and identifier fields.
  5. Click “Continue” then “Register”.
3

Enable Sign in with Apple in Supabase

  1. Go to your Supabase project.
  2. Click on the “Authentication” tab.
  3. Click on the Providers inside the ‘Settings’ tab.
  4. Find the Apple provider and click the “Enable” button.
  1. Fill the Authorized Client ID with the “App ID” you created before.
  2. Copy the Callback URL and save it for the next step.
4

Configure Sign in with Apple in Service ID

  1. Click on the Service ID you just created.
  2. Check the “Sign in with Apple” box.
  3. Click on the “Configure” button.
  1. In the “Domains and Redirect URIs” section:
    • Add your desired domain in the “Domains and Subdomains” field.
    • Paste the Callback URL you copied in the previous step into the “Return URLs” field.
  1. Click “Next”, confirm if everything is correct, and click “Done”.
  2. Click “Continue” and then “Save” to save your changes.