Skip to content

refactor(core): simplify integration credentials#31968

Open
thdxr wants to merge 3 commits into
devfrom
integration-methods
Open

refactor(core): simplify integration credentials#31968
thdxr wants to merge 3 commits into
devfrom
integration-methods

Conversation

@thdxr

@thdxr thdxr commented Jun 12, 2026

Copy link
Copy Markdown
Member

Summary

  • rename the connector domain and public API to integration
  • simplify integration authentication methods and expose key/OAuth connect plus OAuth attempt endpoints
  • make credentials global CRUD records while replacing all existing credentials for an integration on creation
  • remove active credential switching and OAuth refresh from the public surface
  • regenerate the migration, OpenAPI document, and JavaScript SDK

Testing

  • bun turbo typecheck
  • bun script/migration.ts --check in packages/core
  • bun test test/credential.test.ts in packages/core
  • bun test test/integration.test.ts in packages/core
  • bun test test/catalog.test.ts in packages/core
  • bun test test/server/httpapi-public-openapi.test.ts in packages/opencode

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

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