Hi there,
I am developing my first bigger personal project. Therefore I have set up an API using NestJS, so basically an express API.
I've installed next-auth to my project and want to use the credentials provider. No I am stuck in building as I don't know whats supposed to happened after my frontend calls the API. My payload consist of the username and hashed password and my api checks if those credentials match my database entry. But what should my API return so nextJS can handle the user session?
