Add Social Authentication
Authentication is one of the major components of any application. At the same time, authentication is a complicated system because there are many things involved.
For Next.js, we have many options for authentication. We could use:
- Passport.js based system
- A Custom Setup
In this lesson, we are using NextAuth to add auth support for our app. It's one of the simplest ways to add Auth setup for any Next.js app. But it is also very flexible and has built-in support for many social login providers & databases.
But at the end of this course, we will also look at how to use Firebase & Auth0 with this app.