This should be the tutorial for Auth.js. Clean and precise, no extra stuff needed (prisma, database, etc). Thanks!! Instead of use , in signOut or signIn you can redirect using redirectTo property. For example: signIn('github', { redirectTo: '/' }) signOut({ redirectTo: '/signIn' }) There are more with new Auth v5.
Hi, fantastic job, I've coded as you did and using session as props every ting works as intended... Cant get to work is always null or undefined, only is populated when the page is refreshed, it worked on previous versions of Auth v5 beta, can you help? Thanks in advanced
i have a problem when i set "use client" on any component or page i get this error: Module not found: Can't resolve 'child_process', is there any fix for this or i need to set whole project to be server side somehow idk if thats possible
AuthJS has probably the worst documentation I've seen. What's sad is that the reason the docs are bad is not because they don't have enough people or resources to write proper documentation, but because the creator is so opinionated that he refuses to write docs on any auth methods (credentials provider) that he "doesn't believe in" and thinks authJS should be reserved for "competent" and "senior" people that know the depths of auth (as if that will somehow help them understand authJS's custom abstractions) so that's his excuse for poor documentation.
This should be the tutorial for Auth.js. Clean and precise, no extra stuff needed (prisma, database, etc). Thanks!!
Instead of use , in signOut or signIn you can redirect using redirectTo property. For example:
signIn('github', { redirectTo: '/' })
signOut({ redirectTo: '/signIn' })
There are more with new Auth v5.
im a big fan of yours !!! from korea. As changed to auth.js, it was difficult to find the correct content accordingly, thank you very much.
You’re welcome!
amazing video regarding Auth.js with Next.js and OAuth. best video on youtube i could find so far. Keep it up :)
Thank you! I appreciate the kind words!
Hi, fantastic job, I've coded as you did and using session as props every ting works as intended... Cant get to work is always null or undefined, only is populated when the page is refreshed, it worked on previous versions of Auth v5 beta, can you help? Thanks in advanced
Fantastic video. Also, I cant find the part 2 video you mentioned about integration with a DB
how set basePath in nextjs 14 and next auth beta v5? I have add basePath in next.config.mjs and add basePath in sessionProvider but still error
i have a problem when i set "use client" on any component or page i get this error: Module not found: Can't resolve 'child_process', is there any fix for this or i need to set whole project to be server side somehow idk if thats possible
Thanks. I love you tuto. It's the best 👏🏼
Thank you - much appreciated!
this is awesome👌
Thank you
Can you integrate it with mongoose
nextauth is so frustrating to deal with ever since v5
Please hurry and make part two 😊
Oh you did 😂😮
Really nice video thank you.
AuthJS has probably the worst documentation I've seen. What's sad is that the reason the docs are bad is not because they don't have enough people or resources to write proper documentation, but because the creator is so opinionated that he refuses to write docs on any auth methods (credentials provider) that he "doesn't believe in" and thinks authJS should be reserved for "competent" and "senior" people that know the depths of auth (as if that will somehow help them understand authJS's custom abstractions) so that's his excuse for poor documentation.