/** *
( options: OAuthUserConfig
& { /** * Reference: https://developer.dribbble.com/v2/oauth/#scopes * * For the purposes of NextAuth.js `upload`-only scope makes no sense, * therefore it is excluded from suggested values. Treated by Dribbble as `public` when omitted. * * @default public */ scope?: "public" | "public upload" } ): OAuthConfig
{ return { id: "dribbble", name: "Dribbble", type: "oauth", authorization: { url: "https://dribbble.com/oauth/authorize", params: { scope: options.scope }, }, token: "https://dribbble.com/oauth/token", userinfo: "https://api.dribbble.com/v2/user", profile(profile) { return { id: profile.id.toString(), name: profile.name, email: profile.email, image: profile.avatar_url, } }, style: { text: "#fff", bg: "#000", }, options, } }