Skip to content

feat: add Microsoft Graph provider#23

Open
JanPokorny wants to merge 1 commit intomainfrom
feat/onedrive-transcript#locki-rdyya8sn
Open

feat: add Microsoft Graph provider#23
JanPokorny wants to merge 1 commit intomainfrom
feat/onedrive-transcript#locki-rdyya8sn

Conversation

@JanPokorny
Copy link
Copy Markdown

@JanPokorny JanPokorny commented Apr 28, 2026

New OAuth provider for Microsoft Entra-protected APIs (Graph, OneDrive,
Teams). Uses delegated PKCE flow with tenant-aware token URL.

- Web: microsoft-graph.ts provider definition + icon
- Web: registry.ts registers the provider
- Gateway: MICROSOFT_REFRESH config with {tenant} placeholder in token URL
- Gateway: tenant_settings_key/tenant_default fields on RefreshConfig
- Gateway: resolve_token_url() helper substitutes tenant from AppConfig
- Gateway: refresh_access_token() takes effective_token_url parameter
- Gateway: ByocCredentials struct carries settings (clientId/Secret + tenantId)

Default scopes: Calendars.Read, OnlineMeetings.Read,
OnlineMeetingTranscript.Read.All, User.Read, offline_access — sufficient
for reading the signed-in user's scheduled Teams meeting transcripts.

Signed-off-by: Jan Pokorný <JenomPokorny@gmail.com>
@JanPokorny JanPokorny force-pushed the feat/onedrive-transcript#locki-rdyya8sn branch from 629de8a to b4b0a44 Compare April 28, 2026 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant