Fix Apple Sign In: update bundle IDs from old com.tt.honeyDue.* to com.myhoneydue.*
Backend CI / Test (push) Has been cancelled
Backend CI / Contract Tests (push) Has been cancelled
Backend CI / Build (push) Has been cancelled
Backend CI / Lint (push) Has been cancelled
Backend CI / Secret Scanning (push) Has been cancelled

The iOS app was renamed (MyCrib → Casera → honeyDue) and the bundle ID
was updated to com.myhoneydue.honeyDue (release) / .dev (debug), but
APPLE_CLIENT_ID and APNS_TOPIC across env templates and k3s configs
still pointed at the old com.tt.honeyDue.honeyDueDev value. This made
verifyAudience reject every Apple identity token (aud claim mismatch).

Updated:
- deploy/prod.env.example: bundle ID + comment that empty client_id
  rejects all tokens with DEBUG=false
- .env.example: add Sign in with Apple block (was missing entirely)
- deploy-k3s{,-dev}/config.yaml.example: apple_auth.client_id default
- deploy-k3s-dev/scripts/00-init.sh: same
- docker-compose.dev.yml: APNS_TOPIC fallback
- docs/deployment/10-secrets-config.md: doc reference

The live deploy/prod.env and local .env are .gitignored — they were
edited in place and need to ship via deploy_prod.sh to take effect.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Trey t
2026-04-24 23:58:44 -05:00
parent 7e77e3bbab
commit 9ea058347f
7 changed files with 29 additions and 12 deletions
+4 -2
View File
@@ -62,7 +62,7 @@ email:
push:
apns_key_id: ""
apns_team_id: ""
apns_topic: com.tt.honeyDue
apns_topic: com.myhoneydue.honeyDue
apns_production: true
apns_use_sandbox: false
@@ -100,8 +100,10 @@ admin:
basic_auth_password: "" # HTTP basic auth password for admin panel
# --- Apple Auth / IAP (optional, leave empty if unused) ---
# client_id MUST equal the iOS Release bundle ID — Apple identity tokens
# are rejected if the `aud` claim doesn't match.
apple_auth:
client_id: ""
client_id: "com.myhoneydue.honeyDue"
team_id: ""
iap_key_id: ""
iap_issuer_id: ""