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";