Files
PaperClipAI/server/oauth-providers/microsoft-graph.yaml
T
DottaandPaperclip 382cb3bede feat(oauth): restack OAuth backbone
Restack the OAuth backend from PR #5584 onto current master for PAP-9233, preserving the provider registry, OAuth routes, refresh worker, resolver integration, tests, and docs.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-12 09:47:09 -05:00

30 lines
791 B
YAML

id: microsoft-graph
displayName: Microsoft Graph
docUrl: https://learn.microsoft.com/en-us/graph/auth-overview
clientCredentials:
clientIdEnv: MICROSOFT_OAUTH_CLIENT_ID
clientSecretEnv: MICROSOFT_OAUTH_CLIENT_SECRET
endpoints:
authorize: https://login.microsoftonline.com/common/oauth2/v2.0/authorize
token: https://login.microsoftonline.com/common/oauth2/v2.0/token
accountInfo: https://graph.microsoft.com/v1.0/me
scopes:
default: [User.Read, offline_access]
offered:
- User.Read
- offline_access
- Mail.Read
- Mail.Send
- Files.Read.All
- Calendars.Read
- Sites.Read.All
pkce: required
authMethod: post
responseFormat: json
accountIdField: id
accountLabelField: displayName
refresh:
supported: true
rotatesRefreshToken: true
shape: microsoft