Commit Graph

74 Commits

Author SHA1 Message Date
peter af8159b4bb Allow full name to be retrieved by SSO ReverseProxy
Expand on #4585 by also getting the user's full name from the Reverse Proxy:
If a ReverseProxy provides more than REMOTE_USER, such as email, it might
as well also provide the user's full name.
2023-02-18 17:28:39 -08:00
mildis 33c3b32cda
Allow email to be retrieve by SSO ReverseProxy
If REMOTE_EMAIL header is set, use it as user email.
If REVERSE_PROXY_DEFAULT_DOMAIN is set but not REMOTE_EMAIL, use the current construct.
2020-08-28 22:59:59 -07:00
Frédéric Guillot 61a55c8888 Check if user role has changed while the session is open 2019-01-30 20:59:25 -08:00
Frédéric Guillot ccd177ada6 Store PHP sessions in the database 2017-12-12 15:04:28 -08:00
Frederic Guillot ddeb89e2c6 Add cache decorator for UserModel 2016-12-17 13:39:03 -05:00
Frederic Guillot b8f7532e5c
Add personal API access token 2016-12-03 15:43:36 -05:00
Frederic Guillot 34d0995d55
Cherry-pick from PR #2435 (Show TOTP Issuer) 2016-07-10 14:18:10 -04:00
Frederic Guillot 43337d58c0
Preserve role for existing users when using ReverseProxy authentication 2016-07-02 17:44:45 -04:00
Frederic Guillot 14713b0ec7 Rename all models 2016-05-28 19:48:22 -04:00
Frederic Guillot 300dabe6b4 Added support for LDAP user photo profile 2016-05-07 12:59:35 -04:00
Frederic Guillot d0a0be89f2 Added more logging for LDAP client 2016-03-27 18:30:02 -04:00
Frederic Guillot 6161eaef9e Enable/Disable users 2016-02-13 15:38:35 -05:00
Frederic Guillot 9b9d823f30 Move Gitlab and Github authentication to external plugins 2016-01-29 23:59:58 -05:00
Frederic Guillot dae0c7391a Move Google authentication to an external plugin 2016-01-29 20:15:53 -05:00
Frederic Guillot 22568325c9 Change Auth classes properties to be protected 2016-01-05 21:23:19 -05:00
Frederic Guillot e62779e267 Improve 2FA 2016-01-05 20:31:15 -05:00
Frederic Guillot 70c65268fe Update plugin doc 2015-12-06 14:48:59 -05:00
Frederic Guillot 9bd7985ba4 Add more unit tests 2015-12-06 00:00:09 -05:00
Frederic Guillot 18c56a50e7 Fix phpdoc 2015-12-05 21:22:37 -05:00
Frederic Guillot e9fedf3e5c Rewrite of the authentication and authorization system 2015-12-05 20:31:27 -05:00
Frederic Guillot 91bdf6aaf3 Add generic authorization class 2015-11-27 16:24:21 -05:00
Frederic Guillot a675271ad7 Rewrite of session management 2015-11-15 12:50:33 -05:00
Frederic Guillot a2ebc6c3b2 Move some classes to namespace Core\Http 2015-10-25 18:11:49 -04:00
Frederic Guillot 6756ef2301 Move token generation to Security namespace 2015-10-25 15:05:19 -04:00
Frederic Guillot 9129a16337 Check for each request that reverse proxy user match user session 2015-10-24 09:30:27 -04:00
Frederic Guillot 7303a79b50 Cleanup and minor fixes 2015-10-19 21:05:41 -04:00
Frederic Guillot 43cffe2828 Remove useless class and add new plugin hooks 2015-10-18 18:13:54 -04:00
Frederic Guillot 8c532efd5f Run php-cs-fixer on the code base 2015-10-17 10:09:03 -04:00
Frederic Guillot 9c9ed02cd7 Change namespace to add Kanboard as prefix 2015-10-13 22:19:17 -04:00
Frederic Guillot dc0749ecce Improve LDAP auth 2015-10-11 14:44:16 -04:00
Frederic Guillot f579663adc Fix some phpdoc and remove useless code 2015-09-20 18:44:51 -04:00
Frederic Guillot de5049039c Improve LDAP authentication class 2015-09-12 20:28:34 -04:00
Frederic Guillot 41c334bf29 Add LDAP group sync 2015-09-06 18:07:30 -04:00
Frederic Guillot b0994ba68e Add unit tests for LDAP and ReverseProxy auth 2015-09-06 14:28:06 -04:00
Frederic Guillot d9643dadbb Change travis config 2015-09-06 00:12:03 -04:00
Frederic Guillot 710f2c7bb0 Improve unit tests 2015-09-05 23:30:56 -04:00
Frederic Guillot 062997e6ef Update email and name from oauth providers only if empty 2015-08-23 13:24:40 -04:00
Frederic Guillot 8eb739bb91 Add Gitlab authentication 2015-08-23 13:15:59 -04:00
Frederic Guillot ea24cfb07c Enable support for Github Enterprise when using Github Authentication 2015-08-01 16:48:58 -04:00
Frederic Guillot de109aaeaf Add new config option to disable automatic creation of LDAP accounts 2015-07-18 10:17:18 -04:00
Frederic Guillot ede1f1d9b0 Refactoring of Github authentication (oauth url change) 2015-07-16 20:35:56 -04:00
Frederic Guillot 12036aa21f Refactoring of Google Authentication (new callback url) 2015-07-16 07:28:46 -04:00
Frederic Guillot bc98748c0d Start to implement url rewrite (nice urls) 2015-07-12 10:38:42 -04:00
Frederic Guillot 45774afafc Do not rewrite remember me cookie for each request 2015-07-05 10:40:41 -04:00
Frederic Guillot eeac2329ba Helpers refactoring 2015-05-24 16:02:25 -04:00
Frederic Guillot 5a29cccc95 Various fixes for PHPAnalyzer 2015-04-03 18:32:51 -04:00
Frederic Guillot e5f6e364f1 Improve and fix issues with 2FA 2015-04-03 14:40:00 -04:00
Francois Ferrand 67f9465138 Fix query to check user by name and email. 2015-03-19 17:51:22 +01:00
Frederic Guillot 7c2bf746f2 Lowercase LDAP usernames by default for authentication 2015-02-20 19:42:27 -05:00
Frederic Guillot 00b9508d81 Be able to disable the login form for specific users 2015-02-07 23:28:17 -05:00