yzx9
40eb01cce4
Add OAuth2 state validation
2023-11-25 01:26:00 +08:00
yzx9
d94aa2fdf9
Custom provider name
2023-11-25 01:05:40 +08:00
yzx9
b1d9cedddb
Add oauth enable flag
2023-11-24 14:41:49 +08:00
yzx9
f53790c452
Fix bugs
2023-11-23 17:06:44 +08:00
yzx9
b225d6a8ce
Update OAuth2 Configuration
2023-11-22 15:32:01 +08:00
yzx9
a40aec7677
Add OAuth2 Support (WIP)
2023-11-22 11:45:15 +08:00
gizmo1-11
a382fbc194
changed variable "user1" to "user"
...
I used "user1", because Im not sure about the scope inside the anonymous callback functions
2023-09-18 22:52:00 +08:00
yzx9
f645454a74
Fix authentication api changes
...
Co-authored-by: gizmo1-11 <thom_schu@gmx.de>
2023-09-18 22:48:37 +08:00
yzx9
a6448a51e9
Sync changes from upstream
2023-07-20 18:46:13 +08:00
Simon M. Haller-Seeber
a0e70e4f1f
Adapted Contact Controller to work with Sharelatex 3.3.2
2022-12-21 11:07:59 +01:00
Simon M. Haller-Seeber
41c172b587
Update to version sharelatex version 3.0.1. Tested changes with our small experimental environment: Seems to work with the applied small fixes.
2022-01-13 15:29:43 +01:00
David Mehren
c40b47135c
Fix parsing the LDAP_CONTACTS environment variable
...
The current code skips loading contact information from LDAP if
`!process.env.LDAP_CONTACTS` evaluates to `true`.
This is nearly never the case, as `process.env` contains strings
and non-empty strings evaluate to `true`, making the negation falsy.
Only an empty string in `LDAP_CONTACTS` (or not setting the environment
variable at all) skips the contact loading.
This commit changes the logic to only load contacts from LDAP if the
`LDAP_CONTACTS` environment variable is explicitly set to `"true"` (case
insensitive). This should bring the behaviour of the application more in
line with the expectation and the docs.
2021-06-14 17:34:42 +02:00
Sven Feyerabend
19d3b30c93
Fix import of contacts
2021-05-26 17:09:58 +02:00
Simon Markus Haller
ca0dc33cb7
Merged pull reqeust #9 . Added missing adaptions in ContactController. Generally moved GROUP_FILTER to USER_FILTER. Added some comments to the readme.
2021-05-25 15:35:13 +02:00
Sven Feyerabend
6992f2c8ed
Allow ldap bind with authenticating user
2021-05-25 11:27:42 +02:00
Sven Feyerabend
547ce9a744
Split User and Group filter
2021-05-18 23:26:33 +02:00
Sven Feyerabend
2b982babbb
Simplify uid replacement Regex declaration
2021-05-18 22:48:57 +02:00
Sven Feyerabend
025d5fba97
Remove mail constraint on admin group
2021-05-18 22:48:15 +02:00
Sven Feyerabend
4617bf690b
replace "replaceAll" function
2021-05-17 21:21:24 +02:00
Sven Feyerabend
f25cb05c8b
Merge remote-tracking branch 'shasler/ldap-replace-uid' into fix-uid
2021-05-14 23:49:09 +02:00
Sebastian Hasler
56be9a450c
Configurable usage of UID in LDAP filters
...
Signed-off-by: Sebastian Hasler <sebastian.hasler@sec.uni-stuttgart.de>
2021-05-14 23:42:47 +02:00
Simon M. Haller-Seeber
57da632558
Fixed Issue #7 . Other solution for pull request #8 - it is now selectable which admin interface is used (via .env file)
2021-05-10 23:40:49 +02:00
Simon M. Haller-Seeber
90e7681c35
Short test with Sharelatex 2.6.1 - seems to work. Use LDAP escape - thx to @SF2311.
2021-05-10 21:28:02 +02:00
Sven Feyerabend
34614356c9
Escape user input in ladp filters
2021-05-08 02:08:03 +02:00
Sven Feyerabend
fcebf5f33d
Change uid from const to var
2021-05-08 01:42:27 +02:00
Sven Feyerabend
eca1d9881e
Use uid instead of email for user search
2021-05-08 01:32:58 +02:00
Christian Huettig
fd4f45354b
Works.
2021-04-28 22:02:03 +02:00
Christian Huettig
a8d72465d9
Next phase
2021-04-28 21:33:10 +02:00
Christian Huettig
2b58ad96e3
initial changes for testing
2021-04-28 21:16:36 +02:00
Simon M. Haller-Seeber
8f0b270faf
Adapt AuthenticationManager.js to work with sharelatex versions > 2.3.1
2021-03-11 08:48:34 +01:00
Simon M. Haller-Seeber
ca58b4852a
Switch from certbot to traefik
2021-03-10 21:24:49 +01:00
andreas-bulling
abf1e76555
Update AuthenticationManager.js
...
userId contains the whole user object. Hence, only use _id
2021-02-22 09:41:18 +01:00
Simon M. Haller-Seeber
8da5b9afb2
Cleanup code / move small changes in pug files to Dockerfile (login.pug/share.pug) and use ARG (variables to set text in them)
2020-05-18 17:04:44 +02:00
Simon M. Haller-Seeber
baccac37d5
fix external email registration, Admin. Working solution.
2020-05-15 12:45:34 +02:00
Simon M. Haller-Seeber
13b76926ca
Some minor update
2020-05-14 19:51:48 +02:00
Simon M. Haller-Seeber
26b1aca34b
Some minor update
2020-05-14 17:45:14 +02:00
Simon M. Haller-Seeber
6e980b1aa0
remove comment
2020-05-14 12:36:47 +02:00
Simon M. Haller-Seeber
8eed93e3d3
Distinguish between ldap bind DN and ldap base dn - to match ldap functionality properly
2020-05-14 12:09:53 +02:00
Simon M. Haller-Seeber
1f22ef9450
Inital Release
2020-05-13 19:08:35 +02:00