rack-oauth2-server
rack-oauth2-server copied to clipboard
Accept JSON for incoming access token request
Replaces pull request #19 cf. https://github.com/nvdk/rack-oauth2-server/commit/6358b7da9903ff6c8db661ade65762f1ccf902b5
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.
Is there a way to make this not dependent on ActiveSupport?