Custom OAuth client in MVC4 / DotNetOpenAuth - missing access token secret

后端 未结 4 2095
花落未央
花落未央 2020-12-30 16:31

I\'m currently working on implementing a Dropbox OAuth client for my application. It\'s been a fairly painless process until I hit the end. Once I\'ve authorized, when I att

4条回答
  •  再見小時候
    2020-12-30 17:00

    As for your original question that the secret is not provided in response--the secret is right there when you get the response in the verifyAuthenticationCore function. You get both of them like this:

      string token = response.AccessToken; ;
      string secret = (response as ITokenSecretContainingMessage).TokenSecret; 
    

提交回复
热议问题