Dribbble 提供者
资源
设置
回调 URL
https://example.com/api/auth/callback/dribbble环境变量
AUTH_DRIBBBLE_ID
AUTH_DRIBBBLE_SECRET配置
/auth.ts
import NextAuth from "next-auth"
import Dribbble from "next-auth/providers/dribbble"
export const { handlers, auth, signIn, signOut } = NextAuth({
providers: [Dribbble],
})注释
- 您可选择将范围设置为
public upload以实现更高级的场景。如果省略,将使用默认的public范围用于身份验证目的。