What is the best way to handle authentication on Next.js?

This page summarizes the projects mentioned and recommended in the original post on /r/nextjs

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • iron-session

    🛠 Secure, stateless, and cookie-based session library for JavaScript

  • Check out iron-session. I just started using it for a new project where I already have an authentication setup. It makes it easy to use cookies for authorization. The repo has some examples of how to wrap API routes and getServerSideProps with it.

  • next-auth

    Authentication for the Web.

  • https://next-auth.js.org/ will be your best friend

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • New comers to Svelte from React, is there something I miss?

    3 projects | /r/sveltejs | 9 Dec 2023
  • How do handle login and security on a microfrontend application?

    1 project | /r/react | 5 Dec 2022
  • How to handle external API calls behind a login

    1 project | /r/nextjs | 27 Mar 2022
  • Nextjs with Firebase

    2 projects | /r/nextjs | 6 Oct 2021
  • Lost with Auth options... Need token for client & server API calls.

    2 projects | /r/nextjs | 26 Apr 2021