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
範圍將用於身份驗證目的。