Goodreads Developers discussion

26 views
questions > Is OAuth client credentials grant type supported?

Comments Showing 1-1 of 1 (1 new)    post a comment »
dateUp arrow    newest »

message 1: by Cosmin (last edited Dec 02, 2018 11:28AM) (new)

Cosmin (coosmiin) | 1 comments I'm trying to figure out if I can use client credentials grant when connecting to Goodreads API. The OAuth documentation is quite scarce and I couldn't even find if we are talking about the old OAuth protocol or OAuth 2.0.

How would I make a token request using client credentials grant type. This doesn't work:
curl --request POST --url "https://www.goodreads.com/oauth/reque..." --header "content-type: application/json" --data "{\"grant_type\":\"client_credentials\",\"client_id\": \"[client_id]\",\"client_secret\": \"[client_secret]\"}"

I get the following error:
Invalid OAuth Request
<!-- This is a random-length HTML comment: ojwtgkwippmlbi .. lsxmgbilbdnsijgulzcalvpaulhobffdlesnfq -->


back to top