Closed pogarek closed 3 years ago
HI Thank you for the great work with the project.
I want to use it in console app . Currently the way for getting the refreshtoken require your app or browser (https://github.com/KoenZomers/OneDriveAPI/blob/master/Demo/MainForm.cs#L108 ). However this could be achieved with devicecode, if Public Flow is enabled for application in AAD (https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-device-code ). May I ask you consider adding such functionality ?
Best regards
never mind. Solved by https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-net-token-cache-serialization?tabs=custom and using Microsoft.Graph .
HI Thank you for the great work with the project.
I want to use it in console app . Currently the way for getting the refreshtoken require your app or browser (https://github.com/KoenZomers/OneDriveAPI/blob/master/Demo/MainForm.cs#L108 ). However this could be achieved with devicecode, if Public Flow is enabled for application in AAD (https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-device-code ). May I ask you consider adding such functionality ?
Best regards