I was trying to introduce credentials provider alongside my already existing emailprovider

I am using app-router. I broke my application, I am now trying to just get back to using my emailprovider, I reset everything I can, removed jwt as the session strategy, deleted my .next directory, my node_modules, cleared my browser cache. When I build my application I get no errors, so I really don't know what else I can do. Help would be sincerely appreciated
Solution:
I fixed it had to delete my users unfortunately :( this was the solution so I do think it was a db issue I caused...
Jump to solution
2 Replies
Le
LeOP6d ago
Something else which I suspect might have caused an issue, I removed the notnull condition from my drizzle schema, tried adding a password field then I changed back Could this have caused an issue? I get an error asking me for a csrf token, eventhough I am now using the default pre-built nextauth sign in page
Solution
Le
Le6d ago
I fixed it had to delete my users unfortunately :( this was the solution so I do think it was a db issue I caused at first I tried deleting just the sessions, the verification tokens, and thought maybe it would work, but it was only after I deleted the users did it work

Did you find this page helpful?