Skip to content

Commit 013f9b0

Browse files
committed
hardcoding
1 parent f1a9361 commit 013f9b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/controllers/authController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ authController.checkForCookie = async (req, res, next) => {
2626
*/
2727
authController.getToken = async (req, res, next) => {
2828
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`;
29+
const url = `https://github.com/login/oauth/access_token?client_id=6e9d37a09ab8bda68d50&client_secret=02f39942f97b1e2210db340a274f762561e6adf0&code=${requestToken}&scope=repo`;
3030
try {
3131
const response = await axios.post(url, {
3232
headers: { Accept: 'application/json', 'Content-Type': 'text/json' },

0 commit comments

Comments
 (0)