I was going through the documentation for Implement single sign-on to your service in an Outlook add-in which talks about SSO sign on for getting authorization. But as SSO token auth is in preview only state and Exchange user identity token cannot be used for O365, I want to know if "Get access on behalf of a user" be used in Outlook add-in for accessing MS Graph API.?
I couldn't find any such documentation for Office add-in's using "Get access on behalf of a user".
Edit 1: I have been using getCallbackTokenAsync
to call the Outlook Endpoint API
from my add-in. But due to some unexpected behavior of /attachment
API, I'm planning to use MS Graph API. My concern in the question is will the "Get access on behalf of a user" authentication flow work in case of an add-in on Outlook Win32, Outlook Mac, Outlook Mobile, Outlook Web.