You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When invoking DropboxOAuth2Helper.ProcessCodeFlowAsync(Uri responseUri, string appKey, string appSecret, string redirectUri = null, string state = null, HttpClient client = null, string codeVerifier = null), the one with the state parameter, the state parameter is ignored/abandoned.
To Reproduce
Invoke the DropboxOAuth2Helper.ProcessCodeFlowAsync() (the one that includes a state parameter), and then check the State property on the response. The states should be the same value as passed in but, instead, the value is null.
Expected Behavior
When calling ProcessCodeFlowAsync() with a state parameter the returned OAuth2Response should include the state.
Actual Behavior
When calling ProcessCodeFlowAsync() with a state parameter the returned OAuth2Response's State property is null
Screenshots
If applicable, add screenshots to help explain your problem.
Versions
What version of the SDK are you using?
v6.8 but I assume the problem has been around for some time.
Additional context
Notice that the OAuthPKCE sample does not test the state whereas the SimpleTest sample does.
The text was updated successfully, but these errors were encountered:
Describe the bug
When invoking
DropboxOAuth2Helper.ProcessCodeFlowAsync(Uri responseUri, string appKey, string appSecret, string redirectUri = null, string state = null, HttpClient client = null, string codeVerifier = null)
, the one with the state parameter, thestate
parameter is ignored/abandoned.To Reproduce
Invoke the
DropboxOAuth2Helper.ProcessCodeFlowAsync()
(the one that includes astate
parameter), and then check theState
property on the response. The states should be the same value as passed in but, instead, the value is null.Expected Behavior
When calling
ProcessCodeFlowAsync()
with astate
parameter the returnedOAuth2Response
should include the state.Actual Behavior
When calling
ProcessCodeFlowAsync()
with astate
parameter the returnedOAuth2Response
'sState
property isnull
Screenshots
If applicable, add screenshots to help explain your problem.
Versions
v6.8 but I assume the problem has been around for some time.
Additional context
Notice that the OAuthPKCE sample does not test the state whereas the SimpleTest sample does.
The text was updated successfully, but these errors were encountered: