appdotnet / api-spec

App.net API Documentation is on the web at https://developers.app.net. Source for these docs is in the new-docs branch here. Please use the issue tracker and submit pull requests! Help us build the real-time social service where users and developers come first, not advertisers.
https://developers.app.net
950 stars 98 forks source link

Authentication API stopped working #186

Closed fwanicka closed 12 years ago

fwanicka commented 12 years ago

Are you aware of any issue with the authentication process? The code I have been using for weeks has stopped working. I am getting a 400 error ... "error": "Unknown grant type" when trying to get the authcode in the final step of the process.

I'm doing a POST to https://alpha.app.net/oauth/access_token

And sending a URL-encoded string:

client_id=myclientid&client_secret=mysecret&grant_type=authorization_code&redirect_uri=http://ferret.undiscoveredsoftware.com/AppNet/Authorized&code=mycode

fwanicka commented 12 years ago

@berg Berg fixed this shortly after I posted it.