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
@emmanuelekpo59162 күн бұрын
Doing the check in template files is redundant code and not recommended as the codebase increases from my experience
@howardcohen16532 күн бұрын
@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.haydar2 күн бұрын
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?
@raymondaxyz2 күн бұрын
It works exactly the same. Authjs also recommend authentication on a multi level instead of relying on middleware alone.
@raymondaxyz2 күн бұрын
Great content 💯
@otisrancko3 күн бұрын
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
@shazeemalichishty73223 күн бұрын
Jan you are great man fantastic explanation thanks a lot
@VincentFulco3 күн бұрын
Really terrific!
@markus_dev_cwb3 күн бұрын
The best content ever!
@aymenbachiri-yh2hd3 күн бұрын
Thank you for the video
@spashak63 күн бұрын
Merry Christmas
@shumit3 күн бұрын
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 !!