fix(auth): keychainAccessGroup explizit auf TeamID.BundleID
Symptom: User wurden nach App-Update / längerer App-Pause aus- geloggt, obwohl Refresh-Token theoretisch noch gültig war. Ursache: mit `keychainAccessGroup: nil` landet das Token im impliziten default-bucket; bei TestFlight-Cert-Drift oder Provisioning- Profile-Wechsel wurde es nach Update für die neue App-Instanz unzugänglich. Bestehende Tokens werden via ManaCore v1.5.1 KeychainStore- Migration-Fallback automatisch in den expliziten Bucket gespiegelt — kein erzwungener Logout. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
37840e6172
commit
e139a382d8
1 changed files with 3 additions and 1 deletions
|
|
@ -10,7 +10,9 @@ enum AppConfig {
|
|||
static let manaAppConfig: ManaAppConfig = DefaultManaAppConfig(
|
||||
authBaseURL: URL(string: "https://auth.mana.how")!,
|
||||
keychainService: "ev.mana.zitare",
|
||||
keychainAccessGroup: nil
|
||||
// Explizit auf TeamID.BundleID, statt nil. Vermeidet Logout
|
||||
// bei TestFlight-Cert-Drift (siehe mana-swift-core v1.5.1).
|
||||
keychainAccessGroup: "QP3GLU8PH3.ev.mana.zitare"
|
||||
)
|
||||
|
||||
/// `zitare-api.mana.how` — API-Backend (Hono+Bun).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue