Next Auth V5 - Advanced Guide (2024)
8:00:57
Пікірлер
@talleyrand9530
@talleyrand9530 6 сағат бұрын
That's a massive tutroial! Good work buddy
@Josedld7
@Josedld7 8 сағат бұрын
The contribution you have made to my project is great, grateful for this video. I just have a question, why when a chapter is deleted in mux and the db, isn't it also deleted from uploadthing?
@joseantoniocerdaocejo4722
@joseantoniocerdaocejo4722 9 сағат бұрын
hello Antonio!!, instead of planet scale what other platform could i use instead, thats cuz i have to pay in planetscale
@Vikram_Naik
@Vikram_Naik 9 сағат бұрын
Iam facing issues in resend The first email is successful sent which they guide us to send after accessing the api But the email i send through code are not sent Even resend has 200 status code in its log and show that the email is sent But mail is not received in my mail
@afaqahmad-ef4ky
@afaqahmad-ef4ky 11 сағат бұрын
What is the prerequisites of this project?
@user-fi9uv4rq7h
@user-fi9uv4rq7h 14 сағат бұрын
ChatCompletionRequestmessage error?? Anyone guide me
@user-jv8pu1qv5h
@user-jv8pu1qv5h 15 сағат бұрын
Hello, Teacher Antonio. I really like this project, but I don't have a credit card and don't know how to obtain the font files. I'm feeling very distressed. Please help me.
@imharshvardhan
@imharshvardhan 21 сағат бұрын
@codewithantonio Can we use APIs instead of Prisma and manage them from the actions? Will that be a good practice? I want to have a common API for my web and mobile.
@KkrDs97
@KkrDs97 Күн бұрын
Is it possible to pass the roles while signup?
@NarcSlayer33
@NarcSlayer33 Күн бұрын
This is exactly the course I was looking for!
@nicholasigunbor2896
@nicholasigunbor2896 Күн бұрын
i finished this project and it was such a massive boost to my skills as a developer. If only stripe is working in my country now i have to find a way to introduce paypal as a payment method instead of stripe but so far its awesome
@ddofvideos
@ddofvideos Күн бұрын
@1:37
@HHJoshHH
@HHJoshHH Күн бұрын
Sir Antonio...I guess we are going off the deep end now lol. Planetscale not offering free tier. What should use instead? Please sir?
@codewithantonio
@codewithantonio Күн бұрын
Neon DB
@user-pe9ys9dq5m
@user-pe9ys9dq5m Күн бұрын
@@codewithantonio Hello, will this one be easy to replace in this project or that will be more than just reinstall neondb to the project?
@HHJoshHH
@HHJoshHH Күн бұрын
@@user-pe9ys9dq5m yeah it should easy. Gonna connect a few db to my project. Prisma + Supabase and drizzle or something like that. But I’ll start with drizzle
@user-mx8sz5jw7b
@user-mx8sz5jw7b Күн бұрын
authMiddleWare is now depreciated and now the "afterSignInUrl" attribute does not work in the "SignInButton"... Is there a way to fix this?
@CodeInnovateDyO
@CodeInnovateDyO 2 күн бұрын
The configuration of drizzle with postgresql and neon changed. They do not allow driver in this step
@blu.direction
@blu.direction 2 күн бұрын
can i use this without clerk
@kharisovruslan5523
@kharisovruslan5523 2 күн бұрын
i cant catch error.type CredentialsSignin
@Jacksons_are_jackson
@Jacksons_are_jackson 2 күн бұрын
this is actually insane lol, nice work and thank you
@piyushsharma6358
@piyushsharma6358 2 күн бұрын
Does the app have the calling feature as well ?
@bongbinh2k3
@bongbinh2k3 2 күн бұрын
Liked for all comments in hereNam mô a di đà Phật 🙏🏻🙏🏻🙏🏻Amen 🙏🏻🙏🏻🙏🏻🙏🏻 ❤❤❤❤I love Hinduism 🙏🏻🙏🏻🙏🏻🙏🏻 ❤️❤️❤️❤️
@bongbinh2k3
@bongbinh2k3 2 күн бұрын
Nam mô a di đà Phật 🙏🏻🙏🏻🙏🏻Amen 🙏🏻🙏🏻🙏🏻🙏🏻 ❤❤❤❤I love Hinduism 🙏🏻🙏🏻🙏🏻🙏🏻 ❤️❤️❤️❤️
@bongbinh2k3
@bongbinh2k3 2 күн бұрын
Liked for all comments in here
@kooyaw4445
@kooyaw4445 2 күн бұрын
Perfect
@nishadislam8827
@nishadislam8827 2 күн бұрын
Can not access the git repo. is it paid ?
@nnamdiuzoigwe9512
@nnamdiuzoigwe9512 16 сағат бұрын
exactly same issue here
@SunidhiChouhan-nm8bh
@SunidhiChouhan-nm8bh 2 күн бұрын
thanks for posting these videos , they help us very very much.
@Mossad84
@Mossad84 3 күн бұрын
02:00:43 Drizzle & Neon The command "npx drizzle-kit push:pg" is deprecated Please try the following instruction: 1, In file drizzle.config.ts import "dotenv/config"; import { defineConfig } from "drizzle-kit"; export default defineConfig({ dialect: "postgresql", schema: "./db/schema.ts", dbCredentials: { url: process.env.DATABASE_URL!, }, }); 2, run the command: "npx drizzle-kit push"
@hixcan
@hixcan 3 күн бұрын
you are a blessing
@artlover.official
@artlover.official 3 күн бұрын
Very detailed and clearly explained! Nice job, Mr Einstein⁴... 😏
@silviobellies874
@silviobellies874 3 күн бұрын
The clerkprovider is not working for me, how to fix it. O can't able to protect my route
@sanvedbhoyar
@sanvedbhoyar 3 күн бұрын
Hey Antonio! Thanks for creating such an amazing video! I have a problem that I'm encountering right now at 2:04:52.. When I try to delete an account using clerk account management, I get redirected to a different route, not my sign-in page. This is what happened at 2:04:52 when you did it as well. It happens because there's no redirect url in the params. I tried searching for a solution but couldn't find a way to deal with redirecting after deletion. This also happens when you delete an account, get redirected to clerk page (not our sign-in page) and after that go back using browser button and it still access the dashboard (protected route of our website) even after we have logged out and even deleted the user who had logged in previously. This makes the word 'protected route' lose all it's meaning. So, can you please help me with this? And thanks for always sharing such awesome content!
@shakhzodbekkakhkhorov9095
@shakhzodbekkakhkhorov9095 3 күн бұрын
If I delete or replace image from editor, does the image remains in edgestorage?
@sezerboluk4310
@sezerboluk4310 3 күн бұрын
Hi, I solved the issue at minute 4:44:58 in this way; I hope it helps you to const onlyOneRenderFunction = { case: false, }; const NewVerificationForm = () => { const [error, setError] = useState<string | undefined>(); const [success, setSuccess] = useState<string | undefined>(); const searchParams = useSearchParams(); const token = searchParams.get("token"); const onSubmit = useCallback(async () => { if (success || error) return; if (!token) { setError("Token bulunamadı!"); return; } await newVerification(token) .then((data) => { setError(data.error); setSuccess(data.success); }) .catch(() => { setError("Bilinmeyen bir hata oluştu!"); }); }, [token, success, error]); useEffect(() => { if (onlyOneRenderFunction.case === false) { onSubmit(); onlyOneRenderFunction.case = true; } }, []);
@user-rr8vu3vi7p
@user-rr8vu3vi7p 3 күн бұрын
I can't tell you how much I'm thankful that you posted such great content. I really appreciated the devotion you put into this tutorial. Thanks again!
@maffeimusicc
@maffeimusicc 4 күн бұрын
Someone find the way to drizzle connection ? dbCredentials? thanks Antonio
@SperaDidiza
@SperaDidiza 4 күн бұрын
15/06/2024 - been struggling a lot with the Accounts GET API chapter. I am not a developer but I have a passion of challenging myself to do anything any other human can do. 'client' is of type 'unknown'.ts(18046) is the error i have in the use-get-accounts.ts file 13/06/2024 - 2:43:10 12/06/2024 - 42:20 Project Started 0:00 - 12/06/2024 🇿🇦 Thanks bro 👍
@ParthPatel-yc6by
@ParthPatel-yc6by 4 күн бұрын
Great Project.
@philippe20154
@philippe20154 4 күн бұрын
For those who have a problem with the following timecode 3:32:43. The problem is the version of the cmdk package. In the video, we were at [email protected] and now we're at [email protected]. How to solve this problem 2 solutions: Solution 1 GO to combobox.tsx : Create <CommandList> </CommandList> and wrap your <CommandGroup></CommandGroup> Like this : <Command> <CommandInput placeholder="Search" /> <CommandEmpty></CommandEmpty> <CommandList> <CommandGroup> <CommandItem > </CommandItem> </CommandGroup> </CommandList> </Command> Solution 2 downgrade to version [email protected] Now courage your have still 7h
@musicdevil4802
@musicdevil4802 4 күн бұрын
How do you to terminal in installed node but it blank page withe tyos in help
@ican-in2gz
@ican-in2gz 4 күн бұрын
I just wanna know why you didn't use shadcn form , when you was explaining the server actions ??
@codewithantonio
@codewithantonio 3 күн бұрын
shadcn form uses react-hook-form which at the time (and I believe still) cannot be used fully without “use client” directive, which I wanted to demonstrate here
@MarcosSarges
@MarcosSarges 4 күн бұрын
very very nice
@Django641
@Django641 4 күн бұрын
Really great tutorial as always antonio ! I have some errors with types and credentials CallbackRouterror but I think it's the beta v5 doesn't work well if you have some update of your tutorial
@stephenchris4352
@stephenchris4352 4 күн бұрын
Please is anyone having problems with register and login when deployed to vercel? I can't seem to signup or login when deployed on vercel but everything is fine on local
@shin-jo2801
@shin-jo2801 5 күн бұрын
anyone else have a problem with this initialLessonChallenges: (typeof challenges.$inferSelect & { completed: boolean challengeOptions: typeof challengeOptions.$inferSelect[] })[] the problem is that challengeOptions just retrieve the first challengeOptions (Id number 1) instead of the entire challengeOptions that correspond tot the specific challenge
@HHJoshHH
@HHJoshHH 5 күн бұрын
Antonio I used your discord but got no response on my issue. I am having trouble getting the redirect to the sign-in/sign-up page. I have the page displaying but I have to manually type it in the address bar. What am I doing wrong?
@user-pe9ys9dq5m
@user-pe9ys9dq5m Күн бұрын
Probably, that is because you are using old version of clerk api, in last updates you have to write your middleware.ts like this " import { clerkMiddleware, createRouteMatcher } from '@clerk/nextjs/server'; const isProtectedRoute = createRouteMatcher([ '/', ]); export default clerkMiddleware((auth, req) => { if (isProtectedRoute(req)) auth().protect(); }); export const config = { matcher: ['/((?!.*\\..*|_next).*)', '/', '/(api|trpc)(.*)'], }; "
@yongtaihuang3611
@yongtaihuang3611 5 күн бұрын
54:25
@Pikapi259
@Pikapi259 5 күн бұрын
Ok, you're tutorial is just perfect. Couldn't be more. One funny thing though, your voice sounds more legit with 1.25 speed than normal speed xD
@shafin.15
@shafin.15 5 күн бұрын
Bro is not pregnant, but always delivers!!! 🔥🫡
@harshulrathod1548
@harshulrathod1548 5 күн бұрын
why not Roam be your next project its a virtual office i think you'll have fun building it