Fix Apple Sign In: update bundle IDs from old com.tt.honeyDue.* to com.myhoneydue.*
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:
@@ -35,7 +35,7 @@ DEFAULT_FROM_EMAIL=honeyDue <noreply@honeyDue.treytartt.com>
|
||||
# APNS private key goes in deploy/secrets/apns_auth_key.p8
|
||||
APNS_AUTH_KEY_ID=CHANGEME_APNS_KEY_ID
|
||||
APNS_TEAM_ID=CHANGEME_APNS_TEAM_ID
|
||||
APNS_TOPIC=com.tt.honeyDue
|
||||
APNS_TOPIC=com.myhoneydue.honeyDue
|
||||
APNS_USE_SANDBOX=false
|
||||
APNS_PRODUCTION=true
|
||||
|
||||
@@ -80,7 +80,11 @@ FEATURE_PDF_REPORTS_ENABLED=true
|
||||
FEATURE_WORKER_ENABLED=true
|
||||
|
||||
# Optional auth/iap values
|
||||
APPLE_CLIENT_ID=
|
||||
# APPLE_CLIENT_ID must equal the iOS Release bundle ID. The Apple
|
||||
# identity-token `aud` claim is verified against this value
|
||||
# (internal/services/apple_auth.go::verifyAudience). Leaving it empty
|
||||
# with DEBUG=false rejects every Apple token as invalid audience.
|
||||
APPLE_CLIENT_ID=com.myhoneydue.honeyDue
|
||||
APPLE_TEAM_ID=
|
||||
GOOGLE_CLIENT_ID=
|
||||
GOOGLE_ANDROID_CLIENT_ID=
|
||||
|
||||
Reference in New Issue
Block a user