grantholle / moviedb-promise

Interact with themoviedb.org's api with Node... now in TypeScript!
Other
219 stars 49 forks source link

Upgrade to support Bearer authentication #66

Open transitive-bullshit opened 2 years ago

transitive-bullshit commented 2 years ago

It seems that TMDB now supports the standard Authentication: Bearer <token> scheme, but this package still relies on the api_key query param.

grantholle commented 1 year ago

Hey, so sorry I'm just now responding to this. I'm usually a lot faster...

It looks like using you can use the header with a "API Read Access Token". We'd probably have to have a way to distinguish on which token type you're using?