From ec731d4ceee1df0ccdebd87ab9f95875f55eeee7 Mon Sep 17 00:00:00 2001 From: Nicholas Hansen Date: Fri, 8 Jun 2018 19:36:01 +0100 Subject: [PATCH] Fixed match error (#360) The --- google-userinfo/background/authorize.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/google-userinfo/background/authorize.js b/google-userinfo/background/authorize.js index 3b349c4..78de788 100644 --- a/google-userinfo/background/authorize.js +++ b/google-userinfo/background/authorize.js @@ -4,10 +4,10 @@ const REDIRECT_URL = browser.identity.getRedirectURL(); const CLIENT_ID = "YOUR-CLIENT-ID"; const SCOPES = ["openid", "email", "profile"]; const AUTH_URL = -`https://accounts.google.com/o/oauth2/auth -?client_id=${CLIENT_ID} -&response_type=token -&redirect_uri=${encodeURIComponent(REDIRECT_URL)} +`https://accounts.google.com/o/oauth2/auth\ +?client_id=${CLIENT_ID}\ +&response_type=token\ +&redirect_uri=${encodeURIComponent(REDIRECT_URL)}\ &scope=${encodeURIComponent(SCOPES.join(' '))}`; const VALIDATION_BASE_URL="https://www.googleapis.com/oauth2/v3/tokeninfo";