We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1a9361 commit 013f9b0Copy full SHA for 013f9b0
src/server/controllers/authController.js
@@ -26,7 +26,7 @@ authController.checkForCookie = async (req, res, next) => {
26
*/
27
authController.getToken = async (req, res, next) => {
28
const requestToken = req.query.code;
29
- const url = `https://github.com/login/oauth/access_token?client_id=${process.env.GITHUB_CLIENT_ID}&client_secret=${process.env.GITHUB_SECRET_ID}&code=${requestToken}&scope=repo`;
+ const url = `https://github.com/login/oauth/access_token?client_id=6e9d37a09ab8bda68d50&client_secret=02f39942f97b1e2210db340a274f762561e6adf0&code=${requestToken}&scope=repo`;
30
try {
31
const response = await axios.post(url, {
32
headers: { Accept: 'application/json', 'Content-Type': 'text/json' },
0 commit comments