saguiitay / DropboxRestAPI

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

How to authorize in DropBox? #26

Open maksbazan opened 8 years ago

maksbazan commented 8 years ago

Hello, in documentation OAuth Request Url obtained in this way: var authRequestUrl = await client.Core.OAuth2.AuthorizeAsync("code");

But in the latest version has changed and I can not use this code. I use this: var authRequestUrl = client.Core.OAuth2.Authorize("code");

But this code shows the error: unknown field "code"

RedirectUri looks: RedirectUri = "https://www.dropbox.com/1/oauth2/authorize?client_id=stgpc2qpkvcnlmj&response_type=code"

What am I doing wrong?

emaad commented 7 years ago

Where you able to find the issue regarding this one?