Ver código fonte

Add Googlesignin fix #1019

Amauri CHAMPEAUX 2 anos atrás
pai
commit
0f3f63bac2
1 arquivos alterados com 15 adições e 0 exclusões
  1. 15 0
      tarteaucitron.services.js

+ 15 - 0
tarteaucitron.services.js

@@ -75,6 +75,21 @@ tarteaucitron.services.posthog = {
     }
     }
 };
 };
 
 
+// googlesignin
+tarteaucitron.services.googlesignin = {
+    "key": "googlesignin",
+    "type": "other",
+    "name": "Google Signin",
+    "uri": "https://policies.google.com/technologies/cookies#types-of-cookies",
+    "needConsent": true,
+    "cookies": [],
+    "js": function () {
+        "use strict";
+
+        tarteaucitron.addScript('https://accounts.google.com/gsi/client');
+    }
+};
+
 // kwanko
 // kwanko
 tarteaucitron.services.kwanko = {
 tarteaucitron.services.kwanko = {
     "key": "kwanko",
     "key": "kwanko",