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],
})