I fixed Next Auth!!! Credentials Login with Database Strategy - Next Auth - Auth Js - Next Js

preview_player
Показать описание
Hey! With this small trick, you'll be able to use credentials login with database strategy. You probably faced with this issue where you can't use credentials login with database strategy, where you also want to use credentials along with social media logins. Here you go, I fixed it for you :)

Repository:

see you in the next videos!
bye!
Рекомендации по теме
Комментарии
Автор

Your work is incredibly valuable. I'm not sure what more I can do for you than liking this video.

abdullahdoganay
Автор

Thank you men, Im crying, it just works

rosalesgonzalezangeljonas
Автор

Great work! It helped me a lot, thank you!

ignaciosuburu
Автор

glad to see you tackled the issue I brought up in one of your videos about next-auth, though I will still be using lucia for the control it gives me, plus there's seemingly no way to disable the built in login / signup pages provided by next-auth, which I find very annoying

rxnniiee
Автор

please make a full stack app tutorial with the best practices and handling the edge cases as well most of the tutorials dont do that

kakun
Автор

Be aware because you send the password in the data when using useSession in the frontend, juste handle in the session callback if(session.user.password){ delete session.user.password), I know it send the encrypted password but it's important

Mrbrandon
Автор

Teşekkür ederiz. Next.js 15 Drizzle Postgresql NextAuth bunlar çok gözde konular. 1, 5 yılda epey beğeni toplar. Bir seri olarak düşünürmüsün mesala bu konuları ?

mehmethanifierenler
Автор

Thank you so much. Can you add role based authorization

ogbillity
Автор

The log out seems not deleting the session from the database. Any clue?

mmikhan
Автор

if you read the next auth documentation, there is a session strategy jwt
....

howtocode
Автор

I wonder, how does someone use this way to do RBAC and is it possible to use with middleware?

inotopia
Автор

can you please make a series of Next Auth as you created for lucia

prashlovessamosa
Автор

why do you store in db access_token and refresh_token?

eliassmith
Автор

Be careful! The redirect_uri is not associated with this application. Hatasının sebebi ne olabilir. credentional da normal çalışıyor github ta hataveriyor

mehmethanifierenler
Автор

also if you want to use facebook its not work

alexdin
visit shbcf.ru