Skip to content

Instantly share code, notes, and snippets.

import passport from "passport"
import jwt from "jsonwebtoken"
const FRONTEND_URL = process.env.FRONTEND_URL || "http://localhost:5173";
export const googleLogin = passport.authenticate("google", {
scope: ['profile', 'email']
})