oauth_authorize
Handle OAuth 2.0 authorization for secure user-delegated access to Microsoft 365 files, managing tokens for OneDrive and SharePoint integration.
Instructions
Manage OAuth 2.0 authorization for user-delegated access to OneDrive and SharePoint files with secure token handling.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | OAuth action: get authorization URL, exchange code for token, refresh token, or revoke access | |
| scopes | No | OAuth scopes to request (e.g., Files.ReadWrite, Sites.ReadWrite.All) | |
| state | No | State parameter for CSRF protection | |
| code | No | Authorization code to exchange for access token | |
| refreshToken | No | Refresh token to exchange for new access token |