You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With #8, we pass the authentication token as a query parameter in API requests. Based on the authentication docs, the preferred approach is to pass the token in the Authorization header:
Authorization: Bearer MY_TOKEN
Fixing this will also have the added benefit of removing the dependency on url-lib
The text was updated successfully, but these errors were encountered:
The [v3 API Authentication docs](https://www.eventbrite.com/developer/v3/api_overview/authentication/#ebapi-authenticating-requests) indicate that the preferred approach for authenticating requests is to pass the OAuth token in the `Authorization` header instead of as a query parameter, so this makes that change.
Also adds `prefer-const` ESLint rule since `eslint-config-evenbrite` doesn't yet have it defined.
Fixes#9
With #8, we pass the authentication token as a query parameter in API requests. Based on the authentication docs, the preferred approach is to pass the token in the
Authorization
header:Fixing this will also have the added benefit of removing the dependency on
url-lib
The text was updated successfully, but these errors were encountered: