Apple OIDC
Configure Sign in with Apple for SqlOS AuthServer.
Setup
Sign in with Apple requires an Apple Developer account and works on web only.
- In Apple Developer Portal, register a Services ID
- Enable Sign in with Apple and configure:
- Domain: your app domain
- Return URL:
http://localhost:5062/api/v1/auth/oidc/callback/{connectionId}
- Create a key for Sign in with Apple
- Create the OIDC connection in SqlOS:
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"
}'
- Enable the connection:
curl -X POST http://localhost:5062/sqlos/admin/auth/api/oidc-connections/{id}/enable
See OIDC Social Login for the complete auth flow.