Browse Source

Add Googlesignin fix #1019

Amauri CHAMPEAUX 2 years ago
parent
commit
0f3f63bac2
1 changed files with 15 additions and 0 deletions
  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
 tarteaucitron.services.kwanko = {
     "key": "kwanko",