Microsoft SharePoint
Storage User OAuth

Microsoft SharePoint

Integrate with Microsoft SharePoint for site and document management via Microsoft Graph API.

Auth Model

User OAuth

Standard OAuth 2.0 authorization. A user grants consent and receives an access token. Authpipe handles refresh, rotation, and health monitoring automatically.

Connection Flow

1
Your App
2
Authpipe
3
Microsoft SharePoint
@authpipe/node
// Get a valid credential — always fresh, zero latency
const { credential } = await authpipe.getCredential({
  provider: 'microsoft-sharepoint',
  tenantId: 'org_acme',
  userId: 'user_123',
});
// Use the credential with the provider API
const response = await fetch('https://api.example.com/data', {
  headers: { Authorization: `Bearer ${credential}` },
});
@authpipe/react
// Drop-in React component
<ConnectButton
  provider="microsoft-sharepoint"
  onSuccess={(conn) => console.log('Connected!', conn)}
/>

Available Scopes

Permissions you can request when connecting to Microsoft SharePoint.

Sites.Read.All

Read items in all site collections

Sites.ReadWrite.All

Read and write items in all site collections

Files.Read

Read the signed-in user's files

Files.ReadWrite

Read and write the signed-in user's files

User.Read

Sign in and read user profile

offline_access

Maintain access to data the user has granted access to via refresh tokens

What Authpipe handles for Microsoft SharePoint

OAuth Orchestration

PKCE, state validation, callback handling, and provider-specific quirks — all automatic.

Encrypted Vault

AES-256-GCM encryption with per-tenant key isolation. OAuth tokens, API keys, and webhook secrets — never exposed to the frontend.

Silent Refresh

Proactive token refresh before expiry. SDK returns from local cache with zero latency.

Health Monitoring

Scheduled checks detect revoked tokens and expired credentials before users notice.

More Storage providers

Ready to connect Microsoft SharePoint?

Get your first 100 connections free. Set up in minutes with our SDK.