Skip to content

feat: add OAuth connectors as CLI resource#187

Closed
Paveltarno wants to merge 1 commit intomainfrom
claude/issue-184-20260202-1630
Closed

feat: add OAuth connectors as CLI resource#187
Paveltarno wants to merge 1 commit intomainfrom
claude/issue-184-20260202-1630

Conversation

@Paveltarno
Copy link
Contributor

Overview

Implements OAuth connector management as a new CLI resource following the existing pattern for entities, functions, and agents.

Changes

  • Core resource structure (schema, config, api, deploy)
  • Zod schemas for connectors and API responses
  • File reading logic for connectors/*.jsonc files
  • API client functions (list, initiate, status, delete)
  • Push logic with OAuth flow (prompt URL, poll for completion)
  • Scope comparison accounting for auto-enhanced scopes
  • Edge case handling (different user, partial consent, scope mismatch)
  • CLI command: base44 connectors push
  • Integration with unified deploy command
  • Summary table output with status indicators

Supported Connectors

googlecalendar, googledrive, gmail, googlesheets, googledocs, googleslides, slack, notion, salesforce, hubspot, linkedin, tiktok

Testing

Manual testing recommended for:

  1. File reading and validation
  2. OAuth flow with API polling
  3. Scope comparison logic
  4. Summary table formatting
  5. Integration with base44 deploy

Closes #184

Generated with Claude Code

Implements OAuth connector management as a new CLI resource following the existing pattern for entities, functions, and agents.

Changes:
- Core resource structure (schema, config, api, deploy)
- Zod schemas for connectors and API responses
- File reading logic for connectors/*.jsonc files
- API client functions (list, initiate, status, delete)
- Push logic with OAuth flow (prompt URL, poll for completion)
- Scope comparison accounting for auto-enhanced scopes
- Edge case handling (different user, partial consent, scope mismatch)
- CLI command: base44 connectors push
- Integration with unified deploy command
- Summary table output with status indicators

Co-Authored-By: paveltarno <Paveltarno@users.noreply.github.com>
@Paveltarno Paveltarno closed this Feb 3, 2026
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.

Add OAuth connectors as a CLI resource

1 participant