From cd5902320708d25750d4ccf70f20956c4a857898 Mon Sep 17 00:00:00 2001 From: nurbek Date: Tue, 21 Sep 2021 19:27:35 +0600 Subject: [PATCH] Update Google Sign-in / Authentication #4307 --- src/technologies/g.json | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/src/technologies/g.json b/src/technologies/g.json index 49a6db06e..2d3704b0a 100644 --- a/src/technologies/g.json +++ b/src/technologies/g.json @@ -909,22 +909,13 @@ 69 ], "description": "Google Sign-In is a secure authentication system that reduces the burden of login for users, by enabling them to sign in with their Google account.", - "dom": { - "button": { - "text": "(Sign|Log) in with Google" - } + "dom": "iframe[src*='accounts.google.com/o/oauth2'], a[href*='accounts.google.com/o/oauth2']", + "meta": { + "google-signin-client_id": "", + "google-signin-scope": "" }, - "html": [ - "]*google-signin-client_id", - "]*google-signin-scope", - "]*accounts\\.google\\.com/o/oauth2", - "]*accounts\\.google\\.com/o/oauth2" - ], "icon": "Google.svg", - "scripts": [ - "apis\\.google\\.com/js/platform\\.js", - "accounts\\.google\\.com/gsi/client" - ], + "scripts": "accounts\\.google\\.com/gsi/client", "website": "https://developers.google.com/identity/sign-in/web" }, "Google Sites": {