Next.js 14 Authentication Tutorial with Clerk
HTML-код
- Опубликовано: 1 окт 2024
- In this tutorial, we'll learn how to implement Clerk with Next.js, using the latest version of this technology. By following this video, you will see how easy it is to add authentication to your Next.js project
👨💻Code:
github.com/can...
🔗Source:
[Clerk docs] clerk.com/docs
#programming
Great video, it works like a charm. But, you must know that there are some changes with the latest version of clerck, for instance instead of authMiddle its now clerckMiddleware, but you just need to copy the code from the documentation. Just one thing, the publicRoutes in the middleware.ts file doesn't work for me...maybe some one else encounter the same issue? Thank you Cand Dev !
it has been deprecated. we dont need to define public routes like that anymore.
i am facing the same. In my system even the clerkMiddleware is also not working says that it doesn't gets exported from @clerk/nextjs/server
@@amirmanzoor4343 sameee
How do we make it a payment registration form?
So, for the user to register to our application, they need to pay/ make a subscription first.
followed the video wasnt getting the clerk auth sign-in card
Same issue
Saying 404 page not found
Same here
nice tutorial thanks 💯💯
Thank you for sharing! Any idea how to add 'Remember me' to sign in page?
Great tutorial
so nobody's gonna tell how clerk app can be deployed to vercel
Can you make a tutorial for clerk metamask authentication
Thank you. Subscribed.
Hi bro. Really nice tutorial. Could you please make another tutorial for using Google Analytics and render it on the user interface? I am really need that tutorial, pls🙏
Thank you, you are wonderful. 🔥
Whenever you refresh the page or when you navigate to different routes, the UserButton component flickers. There's a delay as it loads in and appears in the UI. So it disappears for a second and comes back. Is there a way to fix this?
sam problem brother did you solve the issue
shall we implement forgot password ?
How to get the console information into div section
mantap bang sesekali pake bahasa indo bang
Thanks so much, that was very helpful to me.🤩
Lebih baik pakai clrek atau auth bang?
Ada pro cons sih, clerk sangat bagus tapi dibatesin usersnya klo free version, jadi harus bayar. klo nextauth gratis tapi agak ribet emang setupnya.
@@CandDev next bikin tutorial auth bang
Thank you for your time and effort you put to create such a nice tutorial. much appreciated.
I am so happy if my video is helpful
Well done
works fine,, thanks a lot for the video
Can i deploy this?
Yes in vercel
I like your videos❤❤
thank you 🤍
Error: Missing Clerk Secret Key or API Key
Did you solved it?
Yes it was solved. Thanks@@siddharthasrivastava18
@@siddharthasrivastava18Create a new .env file and copy all the contents he has on .env.example on the new file you created. That error is complaining about missing API Key or secrets that should have been on .env file. I hope it helps
Add them on the environment variable while deploying
there is no authMiddleWare in @clerk/nextjs and, your documentation's method doesn't work
authMiddleWare replaces withClerkMiddleware, check which version you’re using in your project and in the docs.
@@colton6130 version 5. Please make tutorial for ClerkMiddleware I don't see any tutorial and I don't know how to do.
@@colton6130 thank you ❤️