This Next.js template demonstrates how to use Redis as a session store for app auth using multiple providers like GitHub and Discord.
This Next.js project demonstrates how to use Redis as a session store for authentication. The application supports multiple authentication providers, offering a scalable and performant solution for your web applications.
Follow these steps to deploy your application with Redis Cloud on Vercel:
REDIS_URL
environment variable.Install dependencies:
npm install# oryarn install# orpnpm install
Run the development server:
npm run dev# oryarn dev# orpnpm dev
Open http://localhost:3000 in your browser to see the application.
Ensure you have a Redis server running and configure the connection in your .env
file:
This Next.js template demonstrates how to use Redis as a session store for app auth using multiple providers like GitHub and Discord.
This Next.js project demonstrates how to use Redis as a session store for authentication. The application supports multiple authentication providers, offering a scalable and performant solution for your web applications.
Follow these steps to deploy your application with Redis Cloud on Vercel:
REDIS_URL
environment variable.Install dependencies:
npm install# oryarn install# orpnpm install
Run the development server:
npm run dev# oryarn dev# orpnpm dev
Open http://localhost:3000 in your browser to see the application.
Ensure you have a Redis server running and configure the connection in your .env
file: