Dropbox 提供者
资源
设置
回调 URL
https://example.com/api/auth/callback/dropbox
环境变量
AUTH_DROPBOX_ID
AUTH_DROPBOX_SECRET
配置
/auth.ts
import NextAuth from "next-auth"
import Dropbox from "next-auth/providers/dropbox"
export const { handlers, auth, signIn, signOut } = NextAuth({
providers: [Dropbox],
})