Skip to content

PhoenixKit 1.7.91: One Integrations page for outside services

PhoenixKit 1.7.91 adds an Integrations tab under Settings, where you connect outside services once and every module can use them. Google and OpenRouter are built in; modules can register more providers.

Add Integration lets you pick a service, enter its credentials, and for Google click Connect Account to authorize through OAuth. Each provider comes with step-by-step setup notes, and a provider can have several named connections next to the default one. The sign-in flow carries a state parameter to protect against forged requests.

Secrets such as access tokens, client secrets and API keys are encrypted with AES-256-GCM before they are saved, using a key derived from your app’s secret_key_base. Setting config :phoenix_kit, integration_encryption_enabled: false turns this off.

For developers, modules can declare required_integrations/0 and integration_providers/0, and an IntegrationPicker component lets a module’s settings choose a connection.

Upgrading

Run mix phoenix_kit.update for V93, an index that speeds up looking up integration settings.

Full release notes: PhoenixKit 1.7.91

1.7.91 · 6 April 2026

Added

  • Add centralized Integrations system for external service connections (OAuth, API keys, bot tokens)
  • Add AES-256-GCM encryption at rest for stored credentials
  • Add OAuth 2.0 CSRF state parameter protection
  • Add required_integrations/0 and integration_providers/0 callbacks to PhoenixKit.Module
  • Add IntegrationPicker reusable component
  • Add Integrations admin settings tab
  • Add provider registry with Google and OpenRouter built-in

Fixed

  • Fix password field overwrite bug when editing integrations
  • Fix duplicate line in maybe_set_userinfo/2
  • Consolidate validation logic into Integrations context
  • Make validation URL provider-configurable (no more hardcoded Telegram URL)

PhoenixKit 1.7.91. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.