Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Token vs API Key 'question' #61

Open
kkannan-carecloud opened this issue May 29, 2019 · 1 comment
Open

Token vs API Key 'question' #61

kkannan-carecloud opened this issue May 29, 2019 · 1 comment

Comments

@kkannan-carecloud
Copy link

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 kkannan-carecloud changed the title Token vs API Key Token vs API Key 'question' May 29, 2019
@kwelch
Copy link
Contributor

kwelch commented May 29, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants