Closed viktorsmari closed 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"
curl -H "Authorization: token OAUTH-TOKEN"
But it worked when I changed it to Bearer: curl -H "Authorization: Bearer OAUTH-TOKEN"
curl -H "Authorization: Bearer OAUTH-TOKEN"
Here is a discussion on the gems gh: https://github.com/doorkeeper-gem/doorkeeper/issues/46
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