I want to build OneDrive Integration for my webapp

Naresh Goty 20 Reputation points
2023-02-02T07:24:08.16+00:00

Hi,

I'm building onedrive integration for my webapp, but I would prefer to keep popup experience for the user consent instead of redirect as suggested by web app authentication flow (https://learn.microsoft.com/en-us/azure/active-directory/develop/web-app-quickstart?pivots=devlang-java).

The reason to go with webapp auth flow is our app runs offline processes, so no further user consent should be made later. The access tokens should be valid for days (can refresh for new tokens using unexpired refresh token in the backend). Any thoughts in this regard?

Thanks,

Naresh

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,581 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
806 questions
0 comments No comments
{count} votes

Accepted answer
  1. Emily Hua-MSFT 27,526 Reputation points
    2023-02-03T01:44:38.14+00:00

    Hi @Naresh Goty

    As your issue focuses more on development, I suggest you post a new thread on Microsoft Tech Community --- OneDrive Developer.

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    0 comments No comments

0 additional answers

Sort by: Most helpful