Package release

ocyan-plugin-wagtail-2fa

mandel/stable ยท Version 0.1.1

Ocyan integration for Wagtail administrator two-factor authentication.

Metadata

author MandelBlogStack
classifiers
  • Framework :: Django
  • Framework :: Wagtail
  • Environment :: Plugins
  • Programming Language :: Python :: 3.12
description_content_type text/markdown
license_expression LicenseRef-Proprietary
requires_dist
  • Django<5.3,>=5.2
  • Wagtail<8,>=7
  • wagtail-2fa<2,>=1.8
  • ocyan.core<2,>=1.2.14
  • ocyan.main<3,>=2.0.2
requires_python <3.13,>=3.12

Release files

FileTest resultsHistory
ocyan_plugin_wagtail_2fa-0.1.1-py3-none-any.whl
Size
6 KB
Type
Python Wheel
Python
3
  • Uploaded to mandel/stable by Mandel-publish 2026-08-12 18:45:05
ocyan_plugin_wagtail_2fa-0.1.1.tar.gz
Size
5 KB
Type
Source
  • Uploaded to mandel/stable by Mandel-publish 2026-08-12 18:45:05

ocyan.plugin.wagtail_2fa

This package integrates upstream wagtail-2fa and django-otp into Ocyan Wagtail hosts. It registers the upstream applications and verification middleware and makes existing superuser sessions browser-session-only after a response. It does not implement OTP itself, select MFA providers, manage users, alter permissions, or enable MFA for a project automatically.

Configuration

Set WAGTAIL_2FA_REQUIRED = True in the production settings of a project after its administrator MFA rollout is approved. Upstream wagtail-2fa then requires verified OTP for users who can access the Wagtail administration. Keep Django's session cookie security settings (SESSION_COOKIE_SECURE, SESSION_COOKIE_HTTPONLY and SESSION_COOKIE_SAMESITE) owned by the host; this plugin preserves them.

The integration is validated with Python 3.12, Django 5.2 and Wagtail 7. No credentials, OTP seeds, recovery codes or external authentication services are handled by this package.