I have an application which already use azure AD for authentication. And now, we need to integrate MS onedrive in it.
Now, for doing so, we don't want the user to go through login again. Is it possible that the Oauth token generated in application login can be used for graph APIs. Or any other way to skip that MS login for onedrive?
I've seen the question. But my problem is bit different that I'm already using Azure AD for authentication.
Thanks in advance.
When the user logs in, you can acquire multiple access tokens. You will need to acquire a token for MS Graph API. You can use the same authorization code twice to get two access tokens, or you can use the refresh token gotten with the first one to get another access token.