ckanext-twofactorauth
A CKAN extension that implements two-factor authentication (2FA) in CKAN using an email-based token system. When users log in, a verification token is emailed to them for additional security.
Features
- Two-factor authentication for CKAN user login
- Email-based token verification
- repoze.who authenticator and identifier integration
- TOTPDevice model for token management
Requirements
- CKAN v2.2 or greater
- Python 2.6, 2.7
Installation
Install the extension:
pip install -e git+https://github.com/mmoyles87/ckanext-twofactorauth.git#egg=ckanext-twofactorauth
Add twofactorauth to your CKAN plugins:
ckan.plugins = twofactorauth
License
AGPL-3.0