Goodreads Developers discussion

32 views
questions > Error 204 "Host requires authentication" on /oauth/acces_token

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

message 1: by Ahmed (new)

Ahmed Alsuwaidi | 14 comments Hey I am currently developing a Goodreads client for Blackberry 10 (Qt programming) and I am using https://github.com/pipacs/o2 as an oauth library to handle the authentication.

The authorization flow works fine (Request token then Authorize app) but when I finally get to exchanging the token using the url /oauth/access_token I get the error in the title.

204 "Host requires authentication" "Invalid OAuth Request"

Any idea on what is going wrong?


message 2: by Jeff (new)

Jeff (jeffwong) | 75 comments Mod
Goodreads uses Oauth 1.0. Are you using the Oauth 1.0 functions in that library?


message 3: by Ahmed (new)

Ahmed Alsuwaidi | 14 comments jeff wrote: "Goodreads uses Oauth 1.0. Are you using the Oauth 1.0 functions in that library?"

Yes, I am able to get a Request Token and authorize the user with it, but then it fails when I try to exchange the token.


message 4: by Ahmed (last edited Dec 08, 2014 11:49AM) (new)

Ahmed Alsuwaidi | 14 comments EDIT:

I switched over to another library and was able to exchange the tokens and complete the OAuth process.

I think it was an issue with the previous library


message 5: by Jeff (new)

Jeff (jeffwong) | 75 comments Mod
Great! Glad you figured it out!


message 6: by Ahmed (new)

Ahmed Alsuwaidi | 14 comments jeff wrote: "Great! Glad you figured it out!"

Thanks!


back to top