Kong / mashape-oauth

OAuth Modules for Node.js - Supporting RSA, HMAC, PLAINTEXT, 2,3-Legged, 1.0a, Echo, XAuth, and 2.0
http://oauthbible.com
MIT License
1.77k stars 186 forks source link

When using a query string as the body, type is no longer "optional" #27

Open adamk33n3r opened 7 years ago

adamk33n3r commented 7 years ago

This is not mentioned in the README. In prepareParameters it checks for options.type and errors if it doesn't exist.