Package release
ocyan-plugin-wagtail-2fa
mandel/stable ยท Version 0.1.1
Ocyan integration for Wagtail administrator two-factor authentication.
Metadata
| author | MandelBlogStack |
|---|---|
| classifiers |
|
| description_content_type | text/markdown |
| license_expression | LicenseRef-Proprietary |
| metadata_version | 2.4 |
| requires_dist |
|
| requires_python | <3.13,>=3.12 |
Release files
| File | Test results | History |
|---|---|---|
ocyan_plugin_wagtail_2fa-0.1.1-py3-none-any.whl
|
|
|
ocyan_plugin_wagtail_2fa-0.1.1.tar.gz
|
|
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.