I am developing an outlook addin and I need to use PRT to obtain access token to call Graph APIs. I got this requirement because of getting following authentication error when trying to get access token
ErrorCode: invalid_grant
Microsoft.Identity.Client.MsalUiRequiredException: AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access '00000003-0000-0000-c000-000000000000'.
I got to know that the token we are currently using does not contain Device Id claim and that is the reason for getting the above error. So to have device id claim, we must have PRT.
I am having a react front end and .net core web api as the back end service.
I need to know is it possible to use PRT in this architecture. I went through the documentation and according to them, all are about windows applications.
https://docs.microsoft.com/en-us/windows/uwp/security/web-account-manager#request-a-token