Skip to content

feat: add Resend integration and API key connection type#133

Merged
guyb1 merged 1 commit intomainfrom
feat/resend-integration
Mar 30, 2026
Merged

feat: add Resend integration and API key connection type#133
guyb1 merged 1 commit intomainfrom
feat/resend-integration

Conversation

@guyb1
Copy link
Copy Markdown
Contributor

@guyb1 guyb1 commented Mar 30, 2026

Summary

  • Add Resend as a new app integration (API key auth)
  • Implement the generic API key connection flow in the connect popup
  • New POST /api/connections/[provider]/connect endpoint for API key submission
  • Gateway host rule for api.resend.com with Bearer token injection

Details

This is the first api_key type app connection, proving the architecture supports non-OAuth providers alongside GitHub (OAuth) and Gmail (OAuth with refresh).

Web app:

  • Resend app definition with API key field
  • Connect popup renders a form for API key input instead of OAuth redirect
  • API key stored as access_token in encrypted credentials (gateway picks it up automatically)

Gateway:

  • Resend provider registered with api.resend.com host rule
  • Bearer auth strategy (same as OAuth apps)
  • No token refresh needed (API keys don't expire)

Test plan

  • Resend appears in the Apps tab on the connections page
  • Click Connect → popup shows API key form (not OAuth redirect)
  • Enter API key → Connect → success → popup closes → shows Connected
  • In test container: curl https://api.resend.com/domains returns data with injected Bearer token
  • Disconnect and reconnect with different key

- Resend app definition (API key auth, api.resend.com)
- API key connect flow in popup (form with input fields)
- POST /api/connections/[provider]/connect endpoint for API key submission
- Gateway host rule for api.resend.com (Bearer injection)
- Resend icons (dark + light variants)
@guyb1 guyb1 merged commit 86010ef into main Mar 30, 2026
1 check passed
@guyb1 guyb1 deleted the feat/resend-integration branch March 30, 2026 17:49
@guyb1 guyb1 mentioned this pull request Mar 30, 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.

1 participant