Why does the auth() method of Auth.js return an empty object for user?
I’m using the credentials provider of Auth.js for signing in users to a Next.js app. The sign in is working as calling auth()
returns an object once signed in where previously it was null
.