OneDrive / onedrive-sdk-dotnet-msa-auth-adapter

Other
26 stars 22 forks source link

MsaAuthenticationProvider.AuthenticateUserAsync() issue #65

Open Kid-Seven-7 opened 6 years ago

Kid-Seven-7 commented 6 years ago

I am trying to download/upload files from/to OneDrive with this bit of code var contentStream = await ODC .Drive .Items[it.Id] .Content .Request() .GetAsync();. ODC being my OneDriveClient that I need to authenticate with await msaAuth.AuthenticateUserAsync(); this bit of code- but when my program gets to the authentication line a window pops up when disappears and the function that the authentication line is in 'breaks', the program continues but no lines after the auth line are executed.

I'm not sure about the how and why of this and was hoping to get some assistance on the matter