Skip to content

Commit

Permalink
Callback url updated
Browse files Browse the repository at this point in the history
  • Loading branch information
burakorkmez committed Feb 13, 2024
1 parent 0f3a49a commit 1617466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/passport/github.auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ passport.use(
{
clientID: process.env.GITHUB_CLIENT_ID,
clientSecret: process.env.GITHUB_CLIENT_SECRET,
callbackURL: "/api/auth/github/callback",
callbackURL: "https://mern-github-app.onrender.com/api/auth/github/callback",
},
async function (accessToken, refreshToken, profile, done) {
const user = await User.findOne({ username: profile.username });
Expand Down

0 comments on commit 1617466

Please sign in to comment.