rack-oauth2-server icon indicating copy to clipboard operation
rack-oauth2-server copied to clipboard

Accept JSON for incoming access token request

Open pacovell opened this issue 13 years ago • 2 comments

Replaces pull request #19 cf. https://github.com/nvdk/rack-oauth2-server/commit/6358b7da9903ff6c8db661ade65762f1ccf902b5

pacovell avatar Jun 05 '12 13:06 pacovell

If anybody needs this, you just need to add the Rack::PostBodyContentTypeParser middleware so it wii populate the parameter hash that OAuthRequest expects with the json body.

Nakort avatar Feb 08 '13 19:02 Nakort

Is there a way to make this not dependent on ActiveSupport?

assaf avatar Feb 18 '13 19:02 assaf