diff --git a/client/auth/github/getAccessToken.js b/client/auth/github/getAccessToken.js index f8bd9a3..880157e 100644 --- a/client/auth/github/getAccessToken.js +++ b/client/auth/github/getAccessToken.js @@ -34,7 +34,9 @@ module.exports = function getAccessToken({ clientId, redirectUrl, setLoading, sc .join("&")}` : ""; - const fetchUrl = `https://github.com/login/oauth/authorize?client_id=${clientId}&scope=${scopeString}&redirect_uri=${redirectUrl}${window.location.pathname}${extraUriParamsString}`; + console.log("extraUriParamsString:", extraUriParamsString); + + const fetchUrl = `https://github.com/login/oauth/authorize?client_id=${clientId}&scope=${scopeString}&redirect_uri=${redirectUrl}${extraUriParamsString}`; window.location.assign(fetchUrl); ////////////////////////////////////////////////////////////////////////////////// diff --git a/package.json b/package.json index cd3dc75..01e901b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "datasquirel", - "version": "1.3.6", + "version": "1.3.7", "description": "Cloud-based SQL data management tool", "main": "index.js", "scripts": {