Thanks again for the invite to the channel! These videos come out on my channel first along with more videos please check out my channel if you haven't already. Any questions or future projects you would like to see let me know. Keep Coding.
@NewDaricha
8 ай бұрын
😍
@nmdpa3
4 ай бұрын
Thanks. Any chance you'll do same with Next.js 14 and Auth.js 5?
@xanthe69
5 ай бұрын
Quick tip: If you want to create a folder and a file inside it, instead of creating the folder first and then creating the file, you can create a file named "folder name/filename" to do the same. An example would be create a file called Member/page.jsx which would create the page.jsx file in the Member folder
@hameeeed5992
3 ай бұрын
GOAT!
@user-ni4xk8pg7r
10 ай бұрын
I just completed the previous project, the Ticketing App, from the same instructor, thanks for this one👍
@ClarityCoders
10 ай бұрын
Great to hear thanks for watching. Let me know if you have any other tutorials you need!
@gregoryyang6747
5 ай бұрын
So this is still about the old NextAuth 4 right, please change the title, which is misleading as AuthJS 5 makes significant changes
@MIHYFencingAcademy
2 ай бұрын
agree
@azamatcto
2 ай бұрын
agree
@ayushtiwari1504
9 ай бұрын
Doubt 🚨 How do I authorise my api routes to ensure security. Btw best video on Next Auth i found on KZitem uptill now.
@user-wk9rj7ci4c
9 ай бұрын
Amazing video. Very well explained without being superfluous. Tutorial videos like this are such a rarity.
@A03L
8 ай бұрын
I saw this course on udemy, I'm glad you provide this for free!!!
@herozero777
3 ай бұрын
A great tutorial indeed. Thanks for this, but sadly after 6 months, it's already outdated as NextAuth v5 uses very different function names.
@traezeeofor
2 ай бұрын
Yeah so sad. considering freeCodeCamp tutorials are always the best
@omc345
10 ай бұрын
I like the fact that the instructor defines environmental variables at 25:57 🫡
@symoleon97
8 ай бұрын
They know what they did. They probably deleted the keys after making the video
@CivilianJointTaskForce
10 ай бұрын
You are a great Programmer, thanks for the lecture.
@BlueHat1
3 ай бұрын
What a great tutorial! Very helpful and clear.
@bizimsiti
3 ай бұрын
when i create clientMember page, i recieved this error "sync/await is not yet supported in Client Components". but in video, everything is okey. I didnt understand why
@MedAliBeel
7 ай бұрын
thanks FCC and ClarityCode, it really help me understand the basics of nextauth and to implement it correctly in one of my test projects keep up
@warrenb2856
9 ай бұрын
28:15 Maybe the interface has changed, but make sure you go to API & Services.
@okch4m
10 ай бұрын
Really needed this. Saved for future use 👍
@user-fc9cj1fp6b
6 ай бұрын
Should add a session:{stratigy:"jwt"} in the options config, or there would be no 'role' property in the server side session.
@promtpking
9 ай бұрын
you guys always putting out stuff like you reading our minds lol! ... request could you please do a tutorial on MQL5 as in metatrader's language for building trading bots
@DeveloperLeon
6 ай бұрын
Great video, thanks! I wonder, what if you want more roles than just Admin and User? What if you want the Admin to be able to create new roles and select which permissions they have?
@yanferaraque1051
9 ай бұрын
thank you, it was a great tutotrial, would be great if you can show us how to deploy it in Netlify too.
@JirayuVijjakajohn
10 ай бұрын
I just completed it. Good one keep it up FCC
@user-kq5vl8ii8w
7 ай бұрын
Really Great Tutorial Video and Project
@user-ut4jg2sw2l
2 ай бұрын
Thanks a lot, very useful video, all works great
@CodingValk
10 ай бұрын
Hello, I’m new to the coding community, but wouldn’t this video be out dated because nextAuth.js is changing to auth.js and the step for the new documentation are different
@symoleon97
8 ай бұрын
It is changing for about 1 year now, so I think the video wouldn't be outdated very soon 😅
@NewDaricha
8 ай бұрын
Thanks for such a great tutorial video.
@ThanakitChokbunsuwan
3 ай бұрын
A big thanks. This saved my life
@Samoniel2910
8 ай бұрын
const options = {...} export default options worked for me, otherwise it was 500 error
@user-yf2qv6gq1q
9 ай бұрын
Thanks for this tutorial great explanation
@arumals3995
7 ай бұрын
Thanks for this really useful tutorial.
@ondersabahat101
10 ай бұрын
Thank you for this beautiful lesson. I'm starting to watch other videos on the channel. Why did you write folders like "components" and "models" in parentheses? Can you explain please?
@thinpiglin
10 ай бұрын
Thanks for the great tutorial! I'm curious with the parentheses too. Is this just a naming convention, or there are functions in Next I'm missing? 🙋
@parspy694
10 ай бұрын
you put parenthesis into the folder's name if you want Next.js ignore that folder and not consider as a routing page
@collinsk8754
5 ай бұрын
Great tutorial. Thanks.
@patty181188
5 ай бұрын
Thank you so much for creating this tutorial, it's so easy to follow.
@JaiShreeRam5964
7 ай бұрын
Using next 14 and I am not able to use the default (sigin and other) pages of next auth???
@ThanakitChokbunsuwan
3 ай бұрын
same bro. tried to access api/auth/signin. I got status 500
@seancoonce9845
6 ай бұрын
I’m curious (and new to NextJS) why do you say, “you should try to shy away from client side components when you can”?
@beinspiredwithquotes
9 ай бұрын
thanks for the lecture
@alanprophett9936
2 ай бұрын
Thanks!!
@adamspodniak5822
12 күн бұрын
I have one Q. Im using jwt for sessions and my problem is, that when i delete a user from db, but that user is still logged in, it simply doesnt kill his session and he still has full access to my next.js app until his session expires. Any Suggestions how to solve this ?
@BaoNguyen-yy3vw
8 ай бұрын
Great video, thanks pro🥳🥳
@BenjiFriedman
8 ай бұрын
Great video, thanks. Question-- how could I conditionally show a link in the navigation based on whether the user has the admin role or not?
@BenjiFriedman
6 ай бұрын
@a.b.x.543 totally, thanks
@tinys_smash_
Ай бұрын
for some reason the middleware is not working at all for me and its allowing any registered user to get to my admin panel
@JohnJohn-tn3lc
5 ай бұрын
How to place scopes?
@razlar2080
8 ай бұрын
Thank You
@reactdeveloper2368
4 ай бұрын
If I'm implementing Google Oauth only what will be value of NEXTAUTH_URL?
@MuhammadUmair-gy5le
9 ай бұрын
Hey I have errors I'm stuck in `middleware` section. When I click on `CreateUser` link without having a `login` session. It shows me `Only Admins` text. It should redirect me to login.
@bringmemore2621
9 ай бұрын
In last next.js version you have to put middleware.ts in the same level with the pages or app folder. If the pages/app folder is in root add it in root level. If the pages/app folder is inside src you have to add it inside src folder. Worked like a charm !!
@ukkashrecords7046
7 ай бұрын
thnx love u saved my day@@bringmemore2621
@joshuafoxworth6972
7 ай бұрын
Thanks for the video. It seems like a bad implementation to put admin privileges hard coded in the code. That means that anyone with github access can see who has admin on your site and it means that you need a code change to add or remove privileges? Is there any other way of handling this?
@loo6942
7 ай бұрын
at 47:08, what if I want to use my own login in my middleware before using NextAuth?
@leonzeng4139
7 ай бұрын
when github oath, what's the application name and Authorization callback URL,it's not clean to do? Is there a document for the video. some words are not clean to follow.
@azamattugelbay
10 ай бұрын
Hello why you doesn't use sever actions instead
@alexanderkomanov4151
10 ай бұрын
GREAT!!!
@muhammadyafizhambatubara461
3 ай бұрын
done
@joeyreyes9666
5 ай бұрын
with secret keys i’m not able to commit to github unless i get rid of the secret keys… what’s the workaround? i’m assuming there’s a way to encrypt it or something?
@TheDoguBati
8 ай бұрын
Im having hard time creating credentials login because i want user id as well and when i try to add user id to session callback it gives undefined .id is undefined error. How do i go about this one solve the issue ?
@devrano48
5 ай бұрын
middleware makes the routing slower...
@techiesakar
8 ай бұрын
I want NextAuth to call signOut event when refresh token expire. Is there any way to do it ?
@user-mh1km3mv7z
7 ай бұрын
do something to put google auth in here your thing is already setup
@deivymorales1
9 ай бұрын
al prinicipio me daba error con userRole no is defined, portanto me toco definirlo en el alcance global
@opickyayat3132
7 ай бұрын
Can NextAuth use for api auth with another domain access it
@Victor-dd7el
10 ай бұрын
but how can I use a similar library in a go app?
@user-tz3bc3dl7g
7 ай бұрын
HI! Thx for the video. Have you tried to enable App Check for Firebase? Official docs say to do it this way: const appCheck = initializeAppCheck(app, { provider: new ReCaptchaEnterpriseProvider(/* reCAPTCHA Enterprise site key */), isTokenAutoRefreshEnabled: true // Set to true to allow auto-refresh. }); But it works only for the client side, but signInWithEmailAndPassword we call on the server, so it does not use the app check token and I got: An error (auth/firebase-app-check-token-is-invalid.) Do you know how to handle it? Thx in advance
@leonzeng4139
7 ай бұрын
what's the file name to keep secret, env.local? It's not clean in the video.
@Tanner-cz4bd
10 ай бұрын
Finally
@waitwhat-jh7vr
7 ай бұрын
is this also applicable on `pages`?
@ukkashrecords7046
7 ай бұрын
middleware is not working for me in next 14
@abdullahmehar2931
8 ай бұрын
some how this is not working for me now
@itexpert4193
10 ай бұрын
great
@user-cn6lz8nn1r
6 ай бұрын
Use typescript
@ZainRamzan-pt8cm
8 ай бұрын
I have a quick question. I've implemented cookies and JWT authentication in my NestJS backend. Now I'm working on the Next.js frontend, and I have a server component that sends a request to the backend (Nest) to get protected data. However, I'm receiving an "unauthorized" message from the backend in the server component. Note: I'm using HTTPS-only cookies and ngrok for HTTPS in development. How to solve this? means how i can configure next js How i can forwards the secure cookies from Server compoents to the nest js backend that are comming from the browser
@miguel8yuri
6 ай бұрын
Try having the request http instead of https
@antwarior
Ай бұрын
i kept getting errors at the profile?.email how to fix that? im lost there, i fixed one part but still many errors using that
@antwarior
Ай бұрын
nevermind, i fixed everything and its all working perfectly
@Samner42
10 ай бұрын
bro help me connect this with your tickets app I wrote it all, but I would like every user to see only their created tickets
@booi_mangang
4 ай бұрын
No ts is a deal breaker
@kelvinebima9571
9 ай бұрын
Lovely video but it’s not differentiating roles.
@amelianceskymusic
10 ай бұрын
Is Ctrl+Shift+L necessary?
@ClarityCoders
10 ай бұрын
Nope just lazy. Thanks for watching.
@user-mh1km3mv7z
7 ай бұрын
yeah broken tutorial sorry :/ please do a write up with this it would have been helpful
@sguitas
9 ай бұрын
This works with next.js 14?
@drbv27
3 ай бұрын
yes works perfect
@roko7378
9 ай бұрын
why is my .env.local file not working??
@Lucious_LT
3 ай бұрын
Mine too, having client_id error
@roko7378
10 ай бұрын
why am I getting "missing script dev" logged onto my terminal at 14:13??
@0xN1nja
10 ай бұрын
run npm install
@roko7378
10 ай бұрын
@@0xN1nja tried it but I’m still having the same problem :(
@roko7378
10 ай бұрын
Basically I had a folder containing all of my code inside another folder… so the fix was to cd into that folder containing the code and running npm run dev inside of it 🤦🏻♂️🤦🏻♂️
@AntNZ
7 ай бұрын
Is it just me or is Next-Auth v4 and beta all now completely unusable?
@frenchmike
5 ай бұрын
26:00
@antwarior
Ай бұрын
thank god you didnt use typescript, would of just ruined the entire tutorial for me
@shwetupadhyay4822
2 ай бұрын
37:47
@worseize
10 ай бұрын
They make so much css staff to make it seems messy and hard , but if you need working example you need 5 mins and few lines of code but if you show that then you can’t be payed well😂
@nadyashaymardanova6000
10 ай бұрын
🙅
@AntNZ
7 ай бұрын
What the hell happened - it was such a good project and is now dead.
@user-mh1km3mv7z
7 ай бұрын
can you start with configuring the console.cloud.google? at 28:26 your google cloud is all set up with other things but mine asks for "Configure Consent Screen" but it sends me to See Setting up OAuth 2.0 and i obviously have no idea what to do since im at this tutorial
@user-pf4ij5he7t
4 ай бұрын
did you solve the problem man? i'm at the same issue borther
Пікірлер: 112