Join me live on a zoom and take the next live NextJS login workshop together with a group: https://www.omarel.com/nextjs-login-l...
Logins can seem confusing. People use packages like nextauth to do simple logins in Next, but then never really understand what's happening. Doing a login system is quite straight forward and in this video you learn how logins are actually built. You'll learn about the two different architectures for logins sessions vs oAuth. Similarities and differences between them. You'll also learn more about JSON Web Tokens. and Local Storage vs Cookies.
CONNECT ON MY DISCORD COMMUNITY:
/ discord
SOCIALS:
Twitter: / omarel
Website: https://www.omarel.com
LinkedIn: / omarelbaga
GitHub: https://github.com/oelbaga
0:00 Intro
1:01 Live zoom NextJS login workshop
2:00 Source of truth of all Logins
2:43 Storing keys on the client
3:40 Session vs oAuth debate
4:20 Session Login architecture
7:00 Session login disadvantages
7:30 JSON WebTokens sidenote
8:37 oAuth Login architecture
13:20 Advantages of oAuth Login
14:00 AccessToken/Refresh Token Cookie demo
Watch video How React/NextJS logins actually work. Sessions VS oAuth online without registration, duration hours minute second in high quality. This video was added by user Digital CEO 02 December 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 73 once and liked it 5 people.