hiidef / oauth2app

Django OAuth 2.0 Server App. Please fork and improve!
https://github.com/hiidef/oauth2app
MIT License
271 stars 115 forks source link

Get all parameters from POST data when handling access token request #40

Open ghedsouza opened 11 years ago

ghedsouza commented 11 years ago

In TokenGenerator, when handling a request for access tokens, one parameter (client_secret) is being pulled from the POST data, while others are being pulled from the GET data.

I think it would be simpler for both the provider and consumers to extract all data from POST, as is shown in the rfc example.