SqlOS

AuthServer

Apple OIDC

Configure Sign in with Apple for SqlOS AuthServer.

1 section

Setup#

Sign in with Apple requires an Apple Developer account and works on web only.

  1. In Apple Developer Portal, register a Services ID
  2. Enable Sign in with Apple and configure:
    • Domain: your app domain
    • Return URL: http://localhost:5062/api/v1/auth/oidc/callback/{connectionId}
  3. Create a key for Sign in with Apple
  4. Create the OIDC connection in SqlOS:
BASH
curl -X POST http://localhost:5062/sqlos/admin/auth/api/oidc-connections \
  -H "Content-Type: application/json" \
  -d '{
    "providerType": "apple",
    "displayName": "Apple",
    "clientId": "YOUR_APPLE_SERVICES_ID",
    "clientSecret": "YOUR_APPLE_KEY"
  }'
  1. Enable the connection:
BASH
curl -X POST http://localhost:5062/sqlos/admin/auth/api/oidc-connections/{id}/enable

See OIDC Social Login for the complete auth flow.