dnsimple / dnsimple-node

The DNSimple API client for Node.js.
https://developer.dnsimple.com/
MIT License
47 stars 18 forks source link

Requests are unauthenticated #13

Closed anthonygarvan closed 7 years ago

anthonygarvan commented 7 years ago

Following example in docs does not work (requests do not authenticate). Looks like the code is setting the Bearer header, but current docs say to set X-DNSimple-Token. Seems like a pretty big bug, so side question- is this repo currently used / maintained?

aeden commented 7 years ago

This library only supports APIv2 authentication using OAuth tokens as documented here: https://developer.dnsimple.com/v2/#authentication

It is indeed maintained directly by us at DNSimple.