providers/gumroad
GumroadProfile
Properties
success
success: boolean;user
user: {
bio: string;
display_name: string;
email: string;
facebook_profile: string;
id: string;
name: string;
profile_url: string;
twitter_handle: string;
url: string;
};bio?
optional bio: string;display_name?
optional display_name: string;email: string;facebook_profile?
optional facebook_profile: string;id
id: string;name
name: string;profile_url?
optional profile_url: string;twitter_handle?
optional twitter_handle: string;url?
optional url: string;default()
function default(config): OAuthConfig<GumroadProfile>Add Gumroad login to your page.
Setup
Callback URL
https://example.com/api/auth/callback/gumroadConfiguration
import { Auth } from "@auth/core"
import Gumroad from "@auth/core/providers/gumroad"
const request = new Request(origin)
const response = await Auth(request, {
providers: [
Gumroad({
clientId: AUTH_GUMROAD_ID,
clientSecret: AUTH_GUMROAD_SECRET,
}),
],
})Resources
Notes
By default, Auth.js assumes that the Gumroad provider is based on the OAuth 2 specification.
💡
The Gumroad provider comes with a default configuration. To override the defaults for your use case, check out customizing a built-in OAuth provider.
Disclaimer If you think you found a bug in the default configuration, you can open an issue.
Auth.js strictly adheres to the specification and it cannot take responsibility for any deviation from the spec by the provider. You can open an issue, but if the problem is non-compliance with the spec, we might not pursue a resolution. You can ask for more help in Discussions.
Parameters
| Parameter | Type |
|---|---|
config | OAuthUserConfig<GumroadProfile> |