Skip to content

Commit 3677e00

Browse files
committed
fix: update GitHub callback URL to use 0.0.0.0 for better accessibility in local environments
1 parent 0a026c6 commit 3677e00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ main();
7373
passport.use(new GitHubStrategy({
7474
clientID: CLIENT_ID,
7575
clientSecret: CLIENT_SECRET,
76-
callbackURL: "http://localhost:4000/api/auth/github/callback"
76+
callbackURL: "http://0.0.0.0:4000/api/auth/github/callback"
7777
},
7878
async function (accessToken: string, refreshToken: null, profile: any, done: any) {
7979
process.nextTick(async function () {

0 commit comments

Comments
 (0)