const express = require('express'); const { redirectToGoogleOAuth, handleOAuthCallback } = require('../controller/authController'); const router = express.Router(); // Define the /auth routes router.get('/auth', redirectToGoogleOAuth); router.get('/oauth2callback', handleOAuthCallback); module.exports = router;