fablabbcn / smartcitizen-api-docs

Smart Citizen API documentation
https://developer.smartcitizen.me/
Other
2 stars 0 forks source link

Does Doorkeeper support 'token' in header? #1

Closed viktorsmari closed 6 years ago

viktorsmari commented 6 years ago

I just tried following the OAuth2 docs: http://developer.smartcitizen.me/#authentication

But was unable to get authenticated with token curl -H "Authorization: token OAUTH-TOKEN"

But it worked when I changed it to Bearer: curl -H "Authorization: Bearer OAUTH-TOKEN"

Here is a discussion on the gems gh: https://github.com/doorkeeper-gem/doorkeeper/issues/46