Closed 632575987 closed 4 years ago
Try running Fiddler while you're making the call and look at the network traffic that gets generated. This likely already shows some abnormalities.
Closing due to no response received.
DemoApplication.
Failed to retrieve OneDrive access token. Additional information: AADSTS70002: The provided request must include a 'client_secret' input parameter.
{"error":"invalid_client","error_description":"AADSTS70002: The provided request must include a 'client_secret' input parameter.\r\nTrace ID: 7b409a52-de5e-4c38-b76f-7c13ebd16a01\r\nCorrelation ID: 5f5bc486-b01e-49d6-b373-4bcebce3c213\r\nTimestamp: 2020-01-14 02:43:51Z","error_codes":[70002],"timestamp":"2020-01-14 02:43:51Z","trace_id":"7b409a52-de5e-4c38-b76f-7c13ebd16a01","correlation_id":"5f5bc486-b01e-49d6-b373-4bcebce3c213","error_uri":"https://login.microsoftonline.com/error?code=70002"}
Which ClientID are you using to make the requests? Your own or the one in the code already?
If your own, ensure you have "Treat application as public client" set to Yes in your Azure Active Directory App Registration under the Authentication section:
Closing as no further response received.
Im using it on xamarin.forms
the app can get the authorization token, but when i click the 'yes' button on the brower to enable the access, and then the app throw an exception: Operation is not valid due to the current state of the object.