Relative Content

Tag Archive for javascriptnode.jsexpresspassport.js

passport login issues in session

I’m having trouble with my passport. The login process went through without any issues, but the passport key has to be saved into the session. the initapp function for setting some config export default function initExpress(express, app) { app.use(express.json()); app.use(express.urlencoded({ extended: true })); app.use(cors()); setDbSessions(app, process.env.DB_URL); // setting some config for db // maddleware for […]