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

Dropbox - Unknown field `type` #10

Closed simov closed 9 years ago

simov commented 10 years ago

Hi, I'm not very familiar with the OAuth2 spec, but I'm wondering why this parameter is hardcoded?

args.type = 'web_server';

Dropbox have somewhat more strict rules about the parameters and complaints about not knowing about the type field, so unless I comment out these two lines, the OAuth2 flow can't proceed.