Apple Single Sign-On Configuration Guide

Important: This guide will help you configure Apple SSO for Single Sign-On with your domain.

Step 1: Apple Developer Account

1. Go to Apple Developer Portal

2. Sign in with your Apple Developer account

3. Navigate to "Certificates, Identifiers & Profiles"

4. Click "Identifiers" in the left sidebar

Step 2: Create App ID

1. Click the "+" button to create a new identifier

2. Select "App IDs" and click "Continue"

3. Select "App" and click "Continue"

4. Enter the following details:

Description: Your Domain SSO App
Bundle ID: com.yourdomain.sso

5. Scroll down to "Sign In with Apple" and check the box

6. Click "Continue" and then "Register"

Step 3: Configure Sign In with Apple

1. In your App ID, click "Edit" next to "Sign In with Apple"

2. Click "Configure" next to "Primary App ID"

3. Enter the following details:

Website URL: https://yourdomain.com
Return URLs: https://yourdomain.com/approot/sharecode

4. Click "Save" and then "Continue"

Step 4: Create Service ID

1. Go back to "Identifiers" and click "+" again

2. Select "Services IDs" and click "Continue"

3. Enter the following details:

Description: Your Domain SSO Service
Identifier: com.yourdomain.sso.service

4. Check "Sign In with Apple" and click "Configure"

5. Select your App ID from the dropdown

6. Enter the domain and return URLs:

Domain: yourdomain.com
Return URLs: https://yourdomain.com/approot/sharecode

7. Click "Save" and then "Continue"

Step 5: Download Configuration

1. In your Service ID, click "Edit" next to "Sign In with Apple"

2. Click "Download" to get the configuration file

3. Save this file for your SSO configuration

Step 6: OAuth 2.0 Configuration

1. Note the following OAuth 2.0 details:

Client ID: [Your Service ID: com.yourdomain.sso.service]
Team ID: [From Apple Developer account]
Key ID: [From your private key]
Redirect URI: https://yourdomain.com/api

Configuration Summary

Once you have completed all steps, enter the following information in your SSO configuration:

Note: Replace "yourdomain.com" with your actual domain name throughout this guide. The placeholders above will be automatically replaced with your actual domain when you view this guide in the application.