Hi Team,
I'm trying to setup a permanent connection (= a refreshToken process) to my app using OauthPKCE.
For this, I'm using the sample code provided here: https://github.com/dropbox/dropbox-sdk-dotnet/blob/main/dropbox-sdk-dotnet/Examples/OAuthPKCE/Program.cs
I ran into a difficulty at this line:
var tokenResult = await OAuthFlow.ProcessCodeFlowAsync(redirectUri, ApiKey, RedirectUri.ToString(), state);
My redirectURI seems to be correct (something like http://127.0.0.1:52475/authorize?code=gAY-xxxxxxxxxxxxxxxxxx), but the subsequent call to ProcessCodeFlowAsync results in an exception (Dropbox.Api.OAuth2Exception: 'invalid_request'). Error description says "client secret is missing". I guess it has something to do with the "App secret" setting, but I couldn't find where to provide this information in ProcessCodeFlowAsync, nor in the above instructions.
Any idea? Thanks a lot for your help.
Ghislain