DropboxRestAPI
DropboxRestAPI copied to clipboard
How to authorize in DropBox?
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?
Where you able to find the issue regarding this one?