OneDrive / samples

Contains samples, scenarios, and guidance for integrating with OneDrive and SharePoint drives, drive items, and files.
MIT License
49 stars 48 forks source link

Using MSAL without Cookies: Acquiring Tokens and Authentication Flows with Existing Microsoft Graph Tokens #48

Closed trickcharan closed 11 months ago

trickcharan commented 11 months ago

I have successfully authenticated with Microsoft for Microsoft Graph and have obtained a Microsoft Graph access token and refresh token. However, my scenario requires using the MSAL library without relying on cookies for authentication. I would like to know if it is possible to utilize MSAL to acquire tokens and perform authentication flows using the existing Microsoft Graph access token and refresh token, without requiring cookies. Any guidance or insights on how to achieve this would be greatly appreciated. Thank you!

patrick-rodgers commented 11 months ago

This isn't a general help forum and is focused on supporting the samples listed in the repo. For general Graph questions please try: https://developer.microsoft.com/en-us/graph/support