eventbrite-sdk-javascript icon indicating copy to clipboard operation
eventbrite-sdk-javascript copied to clipboard

Token vs API Key 'question'

Open kkannan-carecloud opened this issue 5 years ago • 1 comments

When I create my app, I got a client secret, private API key and public API key.

When I am trying to use the SDK, it looks like it requires an OAUTH Token instead. May I know if I can use the private API key in the place of token to make it work ?

const sdk = eventbrite({
    token: 'OATH_TOKEN_HERE' 
});

kkannan-carecloud avatar May 29 '19 22:05 kkannan-carecloud

The recommended approach to getting a token is using the OAuth flow, you can read more about that here.

For test and simple non-public usages I have used the Personal OAuth Token, as the token.

kwelch avatar May 29 '19 23:05 kwelch