next-auth icon indicating copy to clipboard operation
next-auth copied to clipboard

Best way to debug email auth flow in staging/prod?

Open ryanbahan opened this issue 6 years ago • 0 comments

Please refer to the documentation, the example project and existing issues before creating a new issue.

Your question A clear and concise question.

UPDATE: issue fixed (small env variable issue, of course) but I'm curious of how to debug issues that might only appear in staging or prod. Will setting debug: true mean that I can access that data in one of Vercel's log integrations?

My email/pass flow works fine in my dev environment, but I get a "Sign in failed. Unable to send email." in prod with seemingly no ability to trace the root of the error. wondering the best way to debug in this scenario.

What are you trying to do A description of what you are trying to do.

same as above.

Documentation feedback Documentation refers to searching through online documentation, code comments and issue history. The example project refers to next-auth-example.

  • [ ] Found the documentation helpful
  • [ ] Found documentation but was incomplete
  • [ ] Could not find relevant documentation
  • [ ] Found the example project helpful
  • [ ] Did not find the example project helpful

ryanbahan avatar Jul 01 '20 20:07 ryanbahan