Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nextauth Twitter - Function not found with Netlify dev

I couldn't find any reference to this and finally managed to solve problem.

When using Nextauth with Twitter (and probably other providers) you get a 'Function not found...' error if you are using Netlify dev.

Error in the console is: "Warning: Missing form submission function handler"

like image 525
Tom Holder Avatar asked May 30 '26 07:05

Tom Holder


1 Answers

I believe this is something to do with the Netlify dev proxy. If you use :8888 which is the front-facing server then no go, however, if you use the :3000 port server that sits behind it, it's fine. I assume the netlify dev server is picking up on something first.

If anyone has more information please do let me know. For the time being, using the alternative server is fine for testing as I'm not also trying to use Netlify functions.

like image 131
Tom Holder Avatar answered Jun 02 '26 17:06

Tom Holder