demo at https://next-auth.now.sh/
Clone the repo
git clone https://github.com/vaheqelyan/next-auth.git
Then create a file .env
file.
SECRET=<YOUR_SESSION_SECRET>
Then create a file env-config.js
module.exports = {
"process.env.GOOGLE_CLIENT_ID": "<YOUR_GOOGLE_CLIENT_ID>"
};
yarn
npm install
npm run dev
npm build
npm start
npm run public