1
00:00:02,000 --> 00:00:04,000
In this extra section,

2
00:00:04,000 --> 00:00:07,000
I wanna dive into authentication.

3
00:00:07,000 --> 00:00:12,000
I wanna explore how we can add user authentication,

4
00:00:12,000 --> 00:00:17,000
signup and signin and logout to a Next.js application.

5
00:00:17,000 --> 00:00:21,000
In my React course, React: The Complete Guide,

6
00:00:21,000 --> 00:00:26,000
I do show how to implement authentication with React apps.

7
00:00:26,000 --> 00:00:30,000
And generally, since a Next app is still a React app,

8
00:00:30,000 --> 00:00:35,000
it works as shown there, in case you followed that module.

9
00:00:35,000 --> 00:00:37,000
But in case you didn't, in this module

10
00:00:37,000 --> 00:00:41,000
I will also explain again how authentication works

11
00:00:41,000 --> 00:00:44,000
and I will show how Next.js specifically

12
00:00:44,000 --> 00:00:47,000
can help us with it.

13
00:00:47,000 --> 00:00:51,000
We are going to learn how authentication works

14
00:00:51,000 --> 00:00:53,000
in our Next.js application.

15
00:00:53,000 --> 00:00:55,000
We are then also, of course,

16
00:00:55,000 --> 00:00:58,000
going to implement authentication.

17
00:00:58,000 --> 00:01:02,000
We are going to implement users signup and login,

18
00:01:02,000 --> 00:01:06,000
and we are going to control page access

19
00:01:06,000 --> 00:01:09,000
to make sure that only authenticated users

20
00:01:09,000 --> 00:01:14,000
can reach certain pages and can perform certain actions.

