@capgo/capacitor-social-login 7.6.7 → 7.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -31,6 +31,11 @@ class GoogleProvider {
|
|
|
31
31
|
} else {
|
|
32
32
|
self.forceAuthCode = false
|
|
33
33
|
}
|
|
34
|
+
// if nonce reject login as we need v9 to release to work
|
|
35
|
+
if let nonce = payload["nonce"] as? String {
|
|
36
|
+
completion(.failure(NSError(domain: "GoogleProvider", code: 0, userInfo: [NSLocalizedDescriptionKey: "Nonce is not supported in this version of the SDK, when V9 will be release it will work https://github.com/google/GoogleSignIn-iOS/tags"])))
|
|
37
|
+
return
|
|
38
|
+
}
|
|
34
39
|
|
|
35
40
|
func login() {
|
|
36
41
|
guard let presentingVc = UIApplication.shared.windows.first?.rootViewController else {
|