Modern Apps git

← xtool.git

GSA lowercase

Commit
34a79f768f89d45fe262476f7286123de5758d78
Author
Kabir Oberai <[email protected]>
When
2024-12-12 07:19 UTC (1 year ago)
Parents
6d3f382

Diff

Sources/Supersign/DeveloperServices/DeveloperServicesLoginManager.swift
diff --git a/Sources/Supersign/DeveloperServices/DeveloperServicesLoginManager.swift b/Sources/Supersign/DeveloperServices/DeveloperServicesLoginManager.swiftindex 68f3ac2..c97c4ec 100644--- a/Sources/Supersign/DeveloperServices/DeveloperServicesLoginManager.swift+++ b/Sources/Supersign/DeveloperServices/DeveloperServicesLoginManager.swift@@ -64,7 +64,8 @@ public struct DeveloperServicesLoginManager: Sendable {     ) async throws -> DeveloperServicesLoginToken {         let loginData = try await GrandSlamAuthenticateOperation(             client: client,-            username: username,+            // GSA requires Apple IDs in lowercase for SRP+            username: username.lowercased(),             password: password,             twoFactorDelegate: twoFactorDelegate         ).authenticate()