STOP making these Authentication mistakes in Next.js

  Рет қаралды 4,332

Jan Marshal

Jan Marshal

Күн бұрын

Пікірлер: 16
@howardcohen1653
@howardcohen1653 2 күн бұрын
I suppose the middleware is fast, but what if instead of doing the check in the layout file, I do the check in the template file?? The template rerenders everytime you refresh
@emmanuelekpo5916
@emmanuelekpo5916 2 күн бұрын
Doing the check in template files is redundant code and not recommended as the codebase increases from my experience
@howardcohen1653
@howardcohen1653 2 күн бұрын
@emmanuelekpo5916 how can it be redundant?? If you create a route group then do the check in a template file, even in a bigger code base you'll still do the check in one place
@mohammed.haydar
@mohammed.haydar 2 күн бұрын
What if we want to keep using auth.js (V5) as the main library instead of kinde-auth, how do we go about implementing the middleware authentication check?
@raymondaxyz
@raymondaxyz 2 күн бұрын
It works exactly the same. Authjs also recommend authentication on a multi level instead of relying on middleware alone.
@raymondaxyz
@raymondaxyz 2 күн бұрын
Great content 💯
@otisrancko
@otisrancko 3 күн бұрын
This is a super great important...I used NextAuth and it failed to work on the midleware due to use of nodejs crypto library....so I resolved to using auth on all the pages
@shazeemalichishty7322
@shazeemalichishty7322 3 күн бұрын
Jan you are great man fantastic explanation thanks a lot
@VincentFulco
@VincentFulco 3 күн бұрын
Really terrific!
@markus_dev_cwb
@markus_dev_cwb 3 күн бұрын
The best content ever!
@aymenbachiri-yh2hd
@aymenbachiri-yh2hd 3 күн бұрын
Thank you for the video
@spashak6
@spashak6 3 күн бұрын
Merry Christmas
@shumit
@shumit 3 күн бұрын
That was a smooth video. Clean explanations !! Merry Christmas and a very happy new year to you !! May you continue making these wonderful videos on React, NextJS and Kinde in 2025 as well !!
@OmarFaruk-bz4gw
@OmarFaruk-bz4gw 3 күн бұрын
authjs 5 creaditals
@nr7343
@nr7343 2 күн бұрын
This why next.js is a garbage
@Sairam_Kagitha
@Sairam_Kagitha 2 күн бұрын
Seems like a skill issue
STOP Making these Security Mistakes in Next.js
32:14
Jan Marshal
Рет қаралды 16 М.
Rolldown is here, can it save Vite?
20:08
Theo - t3․gg
Рет қаралды 40 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
The Best Place to Host your Next.js Website (STOP Overpaying)
21:56
This Next.js Feature is Extremely Powerful (Intercepting Routes)
21:16
it's time for a change
6:26
ThePrimeTime
Рет қаралды 66 М.
Authentication Flow in Next.js (Complete Tutorial)
30:37
Cosden Solutions
Рет қаралды 33 М.
How I Build REST APIs that Scale
1:06:56
TomDoesTech
Рет қаралды 4,7 М.
Authorization in Next.js is Easy! (RBAC)
36:15
Jan Marshal
Рет қаралды 3,6 М.
This VS Code theme is threatening people?
14:26
Theo - t3․gg
Рет қаралды 108 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН