Hi, I am trying to set up login functionality with a username and password using NextAuth on my site. Everything works fine locally, but unfortunately, when deployed to Netlify, I encounter the following error when trying to log in:
Error: Callback for provider type credentials not supported
Does this mean I can’t use CredentialsProvider
on Netlify?
There are no build errors, and all the environment variables for the site are correctly set.