Yandex 供應商
資源
設定
回呼 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],
})