pr1ntr / next-auth-test

This shit doesn't work in dev mode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Next Test Auth

Make a .env file based on .env.example You will need to make a twitter app, set credentials in .env and configure your callback.
server.js#L22 :: callbackURL: '/twitter/callback', should match in twitter app

  • yarn
  • yarn dev - try to log in, will fail
  • yarn build then yarn start - this will work

Yes it is unfortunate

About

This shit doesn't work in dev mode


Languages

Language:JavaScript 100.0%