Getting Started
Sign in to your Microsoft Azure account
Select the Azure Active Directory option

Register a new application

Fill out the form

Copy the Client ID of the created application

Create a new client secret and copy its value

Add the permissions below

With the Microsoft OneDrive plugin installed in your project, paste the credentials (App ID, App Secret)
Enable the "Use a generic redirect URL" option

Performing the Login


Log the user out
OAuth is inherently stateless so there is really nothing to "sign out" of. When you complete the OAuth flow you receive a token back. That token is used to authenticate the user every time you call the API.
So to "sign out", simply wipe any stored access token values from your app's memory/storage and the app will no longer have access to that user's account.

Using the Microsoft OneDrive Plugin functions

Last updated