OAuth: authenticated Drive connect + incremental scopes #47

Open
opened 2026-08-01 13:05:33 -07:00 by westfarn · 0 comments
Owner

Parent: #42
Related: #11

Summary

Add authenticated connect flow (beyond login/signup) requesting Google Drive / Microsoft Graph file scopes. Store/refresh tokens on OAuthIdentity or DriveConnection; encrypt at rest if needed.

Acceptance

  • Connect/disconnect endpoints for google + microsoft Drive scopes
  • Tokens refreshed; scopes persisted
  • Login SSO remains identity-only (no Drive scopes forced at signup)
  • Tests for connect callback + scope storage
Parent: [#42](https://git.aimloperations.com/ai_ml_operations/chat_backend/issues/42) Related: [#11](https://git.aimloperations.com/ai_ml_operations/chat_backend/issues/11) ## Summary Add authenticated connect flow (beyond login/signup) requesting Google Drive / Microsoft Graph file scopes. Store/refresh tokens on `OAuthIdentity` or `DriveConnection`; encrypt at rest if needed. ## Acceptance - [ ] Connect/disconnect endpoints for google + microsoft Drive scopes - [ ] Tokens refreshed; scopes persisted - [ ] Login SSO remains identity-only (no Drive scopes forced at signup) - [ ] Tests for connect callback + scope storage
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ai_ml_operations/chat_backend#47