NextAuth
학습키워드
설치 및 세팅
Next Auth
설치 및 세팅
Next14 버전은 현재 호환성 문제 있음 (24.06.13 기준)
🔗 공식문서 참고
터미널에 입력해서 나온 문자를 환경변수로 지정
src/auth.ts
app/api/auth/[...nextauth]/route.ts
src/middleware.ts
🚨 배포를 위해 bulid 하면 해당 파일 error
해당 코드를 사용로 변경 해야함
Last updated