Commit graph

40 commits

Author SHA1 Message Date
Kumi 70b5235be8
Enhanced TOTP verification and added RADIUS support
Implement additional security and functionality in authentication with the introduction of docstrings, type hints, and extended verification logic in the TOTP model to prevent repeated token use, improving robustness against replay attacks. Simultaneously, established the groundwork for RADIUS (Remote Authentication Dial-In User Service) support by creating models and management commands essential for handling authentication, accounting packets, and web-based authentication challenges, broadening the system's capability to integrate with network access servers and services.

Resolves issues with token replay attacks and sets the stage for scalable network authentication mechanisms.
2024-01-28 22:23:05 +01:00
Kumi 52fbb394ed
Enhanced requirement comments for clarity
Added meaningful inline comments to each dependency in requirements.txt to explain their purpose, improving maintainability. Also introduced 'pyrad' for RADIUS support and 'django-cidrfield' to handle subnet storage requirements. These additions equip the application for better network authentication and IP address management.
2024-01-28 18:07:59 +01:00
Kumi da49ddabcc
Add Django CAS authentication support
Introduce support for Central Authentication Service (CAS) alongside existing OIDC and SAML by integrating a new CAS server app and custom CAS authentication user model. Streamline sign-in infrastructure with updated URL patterns. As part of the update, refactor user model `username` resolution to leverage the email field directly. Includes necessary Django migrations to support new authentication features and removes a deprecated OIDC provider dependency.
2023-12-24 09:16:55 +01:00
Kumi 28e7cf8e5b
Start LDAP implementation 2023-09-14 14:44:51 +02:00
Kumi 9f20d23a07
Don't fail if AppSession is not set 2023-07-08 16:42:29 +02:00
Kumi dbf42a0365
Undo 2023-07-08 16:39:10 +02:00
Kumi 20bbe48fd2
Set APPEND_SLASH to False... 2023-07-08 16:37:37 +02:00
Kumi c8eae8cc8b
Fix authorize URL 2023-07-08 16:34:38 +02:00
Kumi 88d40840c4
Add crispy-bootstrap4 2023-07-08 16:27:14 +02:00
Kumi af7662d90e
Set CRISPY_TEMPLATE_PACK 2023-07-08 16:13:16 +02:00
Kumi ae2a6eda79
Preparations for Android app 2023-07-08 16:11:38 +02:00
Kumi 02400d5ce0
Django 4 compatibility 2022-11-27 16:45:02 +00:00
Kumi 860c497c86
Start SAML implementation 2022-08-22 09:37:16 +00:00
Kumi 8359a98fdd
Do not reuse consent 2022-08-12 16:50:58 +00:00
Kumi 84769a0242
Add license 2022-08-12 16:47:42 +00:00
Kumi 3333a5334e
Fix pk for client edit view – int doesn't work if it starts with 0 2022-08-12 07:51:28 +00:00
Kumi cb340d2d2f
Fix missing client owner assignment 2022-08-12 07:47:14 +00:00
Kumi 67ad1491e7
Lazy workaround 2022-08-12 07:41:01 +00:00
Kumi 5f82682484
Fix (?) serialization of zoneinfo 2022-08-12 07:40:10 +00:00
Kumi 9a8d5eb859
Fix success URL for profile view 2022-08-10 07:22:40 +00:00
Kumi e897500814
Add template for profile view 2022-08-10 07:18:15 +00:00
Kumi 1a53574f6f
Fix profile link in sidebar 2022-08-10 06:14:35 +00:00
Kumi 2711b87f5a
Merge branch 'main' of git.kumi:kumisystems/kumidc 2022-08-10 06:08:19 +00:00
Kumi 0d6555abe2
Add profile edit view 2022-08-10 06:07:17 +00:00
Kumi 436e28c54b
Add ClientCreateView URL 2022-08-06 20:24:50 +02:00
Kumi d9e34c574a
Implementing stuff in the frontend 2022-08-05 16:16:34 +02:00
Kumi 11040dd11f
"family_name"? Seriously? 2022-08-05 10:41:15 +02:00
Kumi fe57923c35
Log granted/denied authorization requests 2022-08-05 09:29:11 +02:00
Kumi b20ef4fcb0
Add missing last_name field to profile... 2022-08-05 09:03:20 +02:00
Kumi 9685678730
Populate claims in userinfo 2022-08-05 08:39:34 +02:00
Kumi 2c09055821
Keep GET parameters on OTP login 2022-08-05 08:03:29 +02:00
Kumi 5c4325d57d
Fix (?) for login bug 2022-08-04 15:04:28 +02:00
Kumi 2cb4900a55
Fixing TOTP login flow 2022-08-04 14:11:55 +02:00
Kumi 4e77e77296
Lots of frontend work 2022-08-04 13:15:10 +02:00
Kumi 2aa8d62fdd
Fix DEBUG lookup in config 2022-08-02 13:31:01 +02:00
Kumi 8c464ba77a
Include standard claims in ID tokens 2022-08-02 13:10:53 +02:00
Kumi 51a480569a
Populate standard claims 2022-08-02 11:49:45 +02:00
Kumi 3785bff002
Add root static directory to gitignore 2022-08-02 10:37:28 +02:00
Kumi 6dea5435d2
Add static root directory to config 2022-08-02 10:36:53 +02:00
Kumi b119f1ef71
Initial commit 2022-08-02 10:29:58 +02:00