Yandex Provider
리소스
설정
콜백 URL
https://example.com/api/auth/callback/yandex
환경 변수
AUTH_YANDEX_ID
AUTH_YANDEX_SECRET
설정
/auth.ts
import NextAuth from "next-auth"
import Yandex from "next-auth/providers/yandex"
export const { handlers, auth, signIn, signOut } = NextAuth({
providers: [Yandex],
})