Support TOTP (time based) 2-factor authentication
Bug #1647742 reported by
Marco Trevisan (Treviño)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical SSO provider |
Fix Released
|
Undecided
|
Marco Trevisan (Treviño) |
Bug Description
Add support to TOTP authentication method as it's the most commonly used and works better with lots of devices (such as wearables) around.
Related branches
lp:~3v1n0/canonical-identity-provider/time-based-otp-mode
- Natalia Bidart (community): Approve
- Maximiliano Bertacchini: Approve
- Ricardo Kirkner (community): Approve
-
Diff: 1002 lines (+455/-71)24 files modifieddjango_project/settings_base.py (+3/-0)
src/api/v20/tests/test_handlers.py (+31/-0)
src/api/v20/tests/test_login.py (+20/-0)
src/identityprovider/admin.py (+2/-2)
src/identityprovider/forms.py (+6/-1)
src/identityprovider/models/account.py (+4/-0)
src/identityprovider/models/twofactor.py (+35/-7)
src/identityprovider/templatetags/qrcode.py (+9/-2)
src/identityprovider/tests/factory.py (+9/-4)
src/identityprovider/tests/test_forms.py (+22/-0)
src/identityprovider/tests/test_models_account.py (+28/-0)
src/identityprovider/tests/test_models_device.py (+103/-9)
src/identityprovider/tests/test_models_twofactor.py (+20/-0)
src/identityprovider/tests/utils.py (+2/-0)
src/webui/templates/device/addition-generic.html (+4/-2)
src/webui/templates/device/addition-google.html (+27/-2)
src/webui/templates/device/types.html (+2/-2)
src/webui/templates/registration/two_factor_information.html (+2/-0)
src/webui/templates/registration/twofactor.html (+1/-1)
src/webui/tests/test_views_devices.py (+46/-11)
src/webui/tests/test_views_ui.py (+42/-12)
src/webui/views/const.py (+2/-1)
src/webui/views/devices.py (+33/-13)
src/webui/views/ui.py (+2/-2)
Changed in canonical-identity-provider: | |
status: | New → In Progress |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
Changed in canonical-identity-provider: | |
status: | In Progress → Fix Committed |
Changed in canonical-identity-provider: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.