NextJS
Learn how to integrate Wristband with your NextJS server using our SDKs.
This quickstart guide will walk you through how to integrate your NextJS application with Wristband using the Backend Server Integration Pattern.
Goals
After completing this guide, you will have learned to do the following:
- Integrate your NextJS backend with Wristband utilizing Wristband's NextJS Auth SDK.
- Implement basic session management with your NextJS backend.
- Connect a React frontend to your NextJS backend utilizing Wristband's React Client Auth SDK.
- Implement Cross-Site Request Forgery (CSRF) protection.
- Handle refreshing expired access tokens.
Prerequisites
- Node.js (v18.x or later)
- A package manager such as npm, yarn, or pnpm
- NextJS (v14.x or later)
- React (v18.x or later)
Set Up NextJS
If you are starting your app from scratch, you will need to set up a NextJS project by following their installation documentation.
Updated 11 days ago
What’s Next
After your NextJS server is set up, you'll need to install the Wristband Auth SDK.