providers/eventbrite
EventbriteProfile
See
https://www.eventbrite.com/platform/api#/reference/user/retrieve-your-user/retrieve-your-user
Extends
Record
<string
,any
>
Properties
emails
emails: {
email: string;
primary: boolean;
verified: boolean;
}[];
first_name
first_name: string;
id
id: string;
image_id
image_id: string;
last_name
last_name: string;
name
name: string;
default()
default<P>(config): OAuthConfig<P>
Add Eventbrite login to your page and make requests to Eventbrite APIs.
Setup
Callback URL
https://example.com/api/auth/callback/eventbrite
Configuration
import { Auth } from "@auth/core"
import Eventbrite from "@auth/core/providers/eventbrite"
const request = new Request(origin)
const response = await Auth(request, {
providers: [Eventbrite({ clientId: EVENTBRITE_CLIENT_ID, clientSecret: EVENTBRITE_CLIENT_SECRET })],
})
Resources
Notes
By default, Auth.js assumes that the Eventbrite provider is based on the OAuth 2 specification.
The Eventbrite 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.
Type parameters
Type parameter |
---|
P extends EventbriteProfile |
Parameters
Parameter | Type |
---|---|
config | OAuthUserConfig <P > |
Returns
OAuthConfig
<P
>