saguiitay / DropboxRestAPI

Dropbox REST API client in C#
MIT License
46 stars 38 forks source link

Cannot force reapproval when requesting an OAuth2 Redirect URI #17

Closed AdrianPell closed 9 years ago

AdrianPell commented 9 years ago

When I try to generate a redirect URI as part of the OAuth2 flow, and request reapproval (to force Dropbox to prompt for credentials), I get an error returned on the resulting page:

"force_reapprove": expecting either "true" or "false", got "True"

It seems that when the OAuthRequestGenerator generates parameters for the URL it uses the standard (.Net) string representation of true ... which is "True". Apparently, Dropbox doesn't like that.

Happy to generate a PR for that ...

saguiitay commented 9 years ago

Released in version 1.1.6