From d95d5628a10fe2d0af1f69dbe931fe4b2c7b262c Mon Sep 17 00:00:00 2001 From: "promptless[bot]" <179508745+promptless[bot]@users.noreply.github.com> Date: Wed, 28 Jan 2026 17:06:46 +0000 Subject: [PATCH] Document Apple Bundle IDs for native iOS/macOS app sign-in --- .../(guides)/concepts/auth-providers/apple.mdx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/content/docs/(guides)/concepts/auth-providers/apple.mdx b/docs/content/docs/(guides)/concepts/auth-providers/apple.mdx index b25b447962..464d01f529 100644 --- a/docs/content/docs/(guides)/concepts/auth-providers/apple.mdx +++ b/docs/content/docs/(guides)/concepts/auth-providers/apple.mdx @@ -67,6 +67,23 @@ You will need to create an Apple Developer account, and generate an Apple Servic +## Native App Configuration (iOS/macOS) + +Native iOS and macOS apps using the Stack Auth Swift SDK require Bundle ID configuration in addition to the web OAuth setup above. Native apps use Apple's native Sign in with Apple flow (`ASAuthorizationController`) instead of web-based OAuth. + + +Bundle IDs are only required for native iOS/macOS apps. Web applications only need the Service ID configuration described above. + + +### Add Your Bundle IDs + +1. On the Stack Auth dashboard, navigate to **Auth Methods** and select your Apple provider. +2. In the Apple configuration modal, add your app's **Bundle ID** (e.g., `com.yourdomain.app`). This is the same Bundle ID from your App ID in Apple Developer Portal (Step 1 above). +3. If you have multiple apps (e.g., separate iOS and macOS apps), add all their Bundle IDs. +4. Click **Save**. + +Your native app can now use `signInWithOAuth(provider: "apple")` from the Swift SDK. + ### Need More Help? - Check the [Sign in with Apple Documentation](https://developer.apple.com/sign-in-with-apple/get-started/)