Hi Basir, when I tried logging the user credentials, the react-toastify is showing the “Client must be connected before running operations”, the in my console the error there is showing this “Failed to load resource: the server responded with a status of 401 (Unauthorized)”. the line of this error is coming from api/auth/callback/credentials?:1
From the next-tailwind-amazona project, I’m on Video-14-Create-Login-API
for 401 error it means that you enter invalid user or password.
check this API to see what you pass as email and password to the backend.