apple signin should work now hopefully
All checks were successful
Deploy to Server / deploy (push) Successful in 39s

This commit is contained in:
2026-04-10 01:14:42 -05:00
parent bff7c9971f
commit 7582a9c255

View File

@@ -166,6 +166,9 @@ export const auth = betterAuth({
trustedOrigins: [
'http://localhost:5173',
'https://labwise.wahwa.com',
// Apple sends the OAuth code via form_post, so the POST to
// /api/auth/callback/apple arrives with Origin: appleid.apple.com.
'https://appleid.apple.com',
// iOS native app callback — allows Better Auth to honour the
// https://labwise.wahwa.com/api/ios-callback callbackURL
'labwise://',