I am trying to deploy a
NextJS app using the
next-on-netlify plugin. I am using
Auth0 for authentication and when my app goes to the api route to login (/api/login) I get an error that says
The "host" request header is not available.
I am guessing it’s because the API is redirecting to Auth0 to show their Login page. Do I need some custom headers config? Anyone else seen this and resolved it?