alexziskind1 / nativescript-oauth

Other
35 stars 53 forks source link

adding Dropbox OAuth #61

Open jdmcnair opened 6 years ago

jdmcnair commented 6 years ago

Added Dropbbox OAuth functionality. This implied a need to allow individual AuthHelpers to opt out of certain parameters to the provider, because Dropbox rejects the response_mode and nonce parameters on the Auth endpoint, and rejects the response_mode, nonce, and state parameters on the token endpoint. Added functionality to that effect in tns-oauth.ts.

See the note on tns-oauth.ts about an additional bug I fixed for the Dropbox auth helper that may possibly be useful for other auth providers.