9 Commits

Author SHA1 Message Date
nomoneynolife
6e3b16d425 feat:ldap allow-group (#388) 2025-09-05 12:53:45 +08:00
Tao Chen
fe4a115c9d fix: dn should be case-insensitive (#250) 2025-05-21 09:07:08 +08:00
Tao Chen
caea60c732 fix: rm varify password accidentally (#176) 2025-03-15 19:40:02 +08:00
Tao Chen
5db3c8bf0b fix: Fix/ldap tls (#162)
* optimize and fix tls of LDAP

* fix
2025-03-02 22:59:01 +08:00
lejianwen
403d9c2233 style(service): refactor global dependencies to use local variables 2025-02-26 19:15:38 +08:00
lejianwen
6aebf061a4 style: Module name 2025-02-12 19:46:39 +08:00
lejianwen
32a9eda8ca style: Module name 2025-02-12 16:07:51 +08:00
Tao Chen
5224c31d61 fix: When OIDC and LDAP work togethar (#132 #134)
* fix OIDC create user if LDAP enable

* `newUser.GroupId = 1` for ldap

* fix
2025-02-10 10:08:49 +08:00
Tao Chen
0e3f204327 feat(ldap): Add LDAP
* rename: Admin to AdminGroup

* update

* cleanup

* tmp save group mapping

* add enableControl(not-test)

* verify username exist before create(for LDAP)

* add getAllGroupsDn()

* rename

* adminGroup

* enable TLS Verify

* init for ldap

---------

Co-authored-by: Tao Chen <iamtaochen@outlook.com>
2025-02-02 23:59:52 +08:00