Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions apps/backend/src/routes/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ export async function authRoutes(app: FastifyInstance) {
state,
});
const authUrl = `${GITHUB_AUTH_URL}?${params}`;
console.log('--- GITHUB OAUTH REDIRECT ---');
console.log('URL:', authUrl);
app.log.debug({ provider: 'github' }, 'OAuth redirect initiated');
return reply.redirect(authUrl);
});

Expand Down Expand Up @@ -208,8 +207,7 @@ app.get('/github/callback', async (request: FastifyRequest<{ Querystring: OAuthC
access_type: 'offline',
});
const authUrl = `${GOOGLE_AUTH_URL}?${params}`;
console.log('--- GOOGLE OAUTH REDIRECT ---');
console.log('URL:', authUrl);
app.log.debug({ provider: 'google' }, 'OAuth redirect initiated');
return reply.redirect(authUrl);
});

Expand Down