ReasonJun

NextJS : Type error: Route "src/app/api/auth/[...nextauth]/route.ts" does not match the required types of a Next.js Route. "authOptions" is not a valid Route export field. 본문

Frontend/Next.js

NextJS : Type error: Route "src/app/api/auth/[...nextauth]/route.ts" does not match the required types of a Next.js Route. "authOptions" is not a valid Route export field.

ReasonJun 2023. 12. 16. 01:29
728x90

https://codevoweb.com/setup-and-use-nextauth-in-nextjs-13-app-directory/

 

Setup and Use NextAuth.js in Next.js 13 App Directory - CodevoWeb

In this tutorial, I’ll walk you through setting up authentication in your Next.js 13 app directory using NextAuth.js. It’s worth noting that while we use...

codevoweb.com

 

 

https://github.com/vercel/next.js/discussions/50511

 

Why does my NextAuthJS discord login work in the test environment but cannot be built to production? (NextJS 13) · vercel/next.

Summary I am trying to deploy a NextJS application to vercel. This is a test sign in model using AuthJS. When I run the program using npm run devit works fine and I am able to log in to my discord ...

github.com

 

728x90
Comments