Skip to content

PhoenixKit 1.3.0: Entities, OAuth sign-in, email templates and AWS SES tracking

PhoenixKit 1.3.0 is a large step for Phoenix sites: custom content types with the Entities module, sign-in with Google, Apple or GitHub, registration by magic link, editable email templates, and email tracking built on AWS SES. A Languages module and per-user time zones come with it.

Entities

Entities are content types you define in the admin, in the spirit of WordPress ACF: a brand, a product, a team member. Each entity gets fields such as text, textarea, email, URL, rich text, number, boolean or date, and its records are managed at /admin/entities/:entity_slug/data. Turn the module on from its card on the modules page; it has its own settings page.

Sign-in and registration

The login and registration pages can show Continue with Google, Continue with Apple and Continue with GitHub. Providers are configured in the admin settings and stored in the database. A visitor can also register without a password: they enter their email at /users/register/magic-link, follow the link, and finish their account, which is then confirmed. The link expires after 30 minutes by default, and referral codes work in this flow.

Emails

The email module now tracks delivery through AWS SES: SES sends events to an SQS queue, PhoenixKit reads them and updates each email’s status, with a dead-letter queue for messages that fail. The admin has a dashboard, a list of sent emails with details, a queue page and a blocklist with CSV import and export, all under /admin/emails. mix phoenix_kit.configure_aws_ses sets up the AWS side.

Emails now come from templates kept in the database and edited at /admin/modules/emails/templates, with a preview, test sending and variables found in the text automatically. The system templates for magic link, account confirmation, password reset and email change are created by migration V15, and mix phoenix_kit.seed_templates adds any that are missing; PhoenixKit falls back to its built-in emails when a template is missing.

Languages and time zones

The Languages module manages the languages a site offers. Each user can have a time zone of their own, used for dates in the admin, falling back to the system time zone.

Upgrading

Run mix phoenix_kit.update to apply migrations V11 to V17. mix phoenix_kit.update --yes skips the prompts and runs the migrations. OAuth is optional: to use it, add ueberauth and the strategies you need, such as ueberauth_google or ueberauth_apple, to your app’s dependencies.

Full release notes: PhoenixKit 1.3.0

1.3.0 · 8 November 2025

Added

  • Session Fingerprinting - Enhanced security with device fingerprinting
    • User agent tracking for device identification
    • IP address monitoring for location changes
    • Browser fingerprint detection using ClientJS
    • Session invalidation on suspicious activity
    • Automatic security alerts for users

Changed

  • Session Schema - New fields for fingerprinting
    • user_agent - Browser and device information
    • ip_address - Connection IP address
    • fingerprint - Unique browser fingerprint hash

Fixed

  • Session Hijacking Protection - Multiple security enhancements
    • Detects session stealing attempts
    • Validates device consistency
    • Monitors IP address changes
    • Alerts users to suspicious activity

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