Commit Graph

11167 Commits

Author SHA1 Message Date
Maxime Besson
f98710bd34 Fix convertSession error reporting (#2487) 2021-03-15 21:18:08 +01:00
Maxime Besson
c0f8e8f46b Skip serializing psgi streams when saving request
It can interfere with unit tests in some cases, like #2000
2021-03-15 21:18:08 +01:00
Maxime Besson
b491ed6413 Retry CI jobs to avoid transient failures 2021-03-15 21:18:08 +01:00
Clément OUDOT
1d186df6c3 Merge branch 'doc-app_gerrit' into 'v2.0'
Give a location to get a prebuild OAuth plugin for Gerrit.

See merge request lemonldap-ng/lemonldap-ng!186
2021-03-14 17:37:48 +00:00
Yadd
45aa9a2a71 Fix debian update from Buster to Bullseye 2021-03-13 12:35:34 +01:00
atisne
82e7e84561 Give a location to get a prebuild OAuth plugin for Gerrit. 2021-03-12 17:59:37 +01:00
Maxime Besson
8cc326adf1 Fix doc 2021-03-10 15:55:13 +01:00
Maxime Besson
f260d941e3 Doc for #2484 2021-03-10 15:54:41 +01:00
Maxime Besson
fc693184dc Unit test for #2484 2021-03-10 15:47:46 +01:00
Maxime Besson
44abc1e889 Add hook for client credentials (#2484) 2021-03-10 15:47:19 +01:00
Maxime Besson
2c4d615c2f Fix 2F removal when session ids are hidden (#2483)
We don't need to hide persistent session IDs because they are not
security senstive (hash of login)
2021-03-10 14:02:52 +01:00
Maxime Besson
6a3479ea3c unit tests: Try to find templateDir in path
This change makes running the testsuite from an external directory
easier. Which is useful if you want to unit test a custom module
2021-03-08 18:45:13 +01:00
Clément OUDOT
f0e90213bb (doc) How to overwrite protocol in NextCloud 2021-03-04 15:13:30 +01:00
Maxime Besson
c7877f1415 Remediation doc for (#2481) 2021-03-03 16:47:09 +01:00
Maxime Besson
41c388b26b Fix error handling when OAuth2 session is not found (#2481) 2021-03-03 15:57:52 +01:00
Maxime Besson
0f626ad94c Add expiration time to Client Credential sessions (#2481) 2021-03-03 15:43:18 +01:00
Maxime Besson
a70051e3fe Remove deprecated base64url implementation
All our target distros now have base64url in Mime::Base64
2021-03-03 11:03:19 +01:00
Maxime Besson
e3ecddb8c9 Unit tests for #2424 2021-03-03 11:03:19 +01:00
Maxime Besson
bb95e681e6 Tidy 2021-03-03 11:03:19 +01:00
Maxime Besson
e10d1e291c Return granted scopes if different from requested scopes (#2424) 2021-03-03 11:03:19 +01:00
Maxime Besson
6b9670c29d Use computed scopes to fill claims in ID token (#2424) 2021-03-03 11:03:19 +01:00
Maxime Besson
534745e5a2 Use computer scopes in Implicit/Hybrid responses (#2424) 2021-03-03 11:03:18 +01:00
Christophe Maudoux
b46259cae9 Enable upgradeSession only if required & Append unit test (#2480) 2021-03-02 19:20:15 +01:00
Yadd
a422af3038 Fix test 2021-03-02 07:58:25 +01:00
Yadd
3883c5abff Fix vhost regexp (#2477) 2021-03-02 07:57:21 +01:00
Maxime Besson
fd3b2d25ef Do not remove sessions/oidc consents from Angular when the XHR fails 2021-02-24 17:48:12 +01:00
Maxime Besson
4f5998029d Fix typo 2021-02-24 17:48:12 +01:00
Maxime Besson
4841c7755e Fix OAuth2 error code when supplying invalid code 2021-02-24 17:48:12 +01:00
Maxime Besson
5a8c20584b Fix OIDC message when calling technical endpoints with cookies (#2475) 2021-02-24 17:48:12 +01:00
Maxime Besson
09d727410c Unit test for #2474 2021-02-24 17:48:12 +01:00
Maxime Besson
2d7f9e34a6 OIDC: Return error if multiple client auth used (#2474) 2021-02-24 17:48:12 +01:00
Clément OUDOT
165f8cf313 Add documentation on how test OpenID Connect with command line tools 2021-02-24 13:04:49 +01:00
Clément OUDOT
205605a79c Merge branch 'v2.0' into 'v2.0'
Use timezone provided in input dates in extended function "checkDate" (#2462)

See merge request lemonldap-ng/lemonldap-ng!179
2021-02-22 10:08:16 +00:00
Maxime Besson
db8ea6f885 Extend GPG key expiration date, fixes GPG unit test 2021-02-20 20:31:21 +01:00
Christophe Maudoux
ba3cbfb33b Click to clear form (#1976) 2021-02-20 19:39:54 +01:00
Christophe Maudoux
f7caff32c7 Move CrowdSec plugin to Security menu (#2451) 2021-02-20 19:18:25 +01:00
Maxime Besson
861463f987 Update unit test for #2465 2021-02-19 17:39:45 +01:00
Maxime Besson
5ebc43deb2 Remove debug statement (#2469) 2021-02-19 17:28:08 +01:00
Maxime Besson
93d54458df Add oidcRPMetaDataScopeRules to list of hash params (#2424) 2021-02-19 17:26:23 +01:00
Christophe Maudoux
ff36b81e73 Append accessor to avoid modify conf (#2451) 2021-02-19 07:44:00 +01:00
Yadd
61c4150cb9 Add CrowdSec bouncer doc 2021-02-19 07:40:39 +01:00
Xavier Guimard
b5c0ca94c4 CrowdSec plugin (#2451) 2021-02-19 07:40:36 +01:00
Christophe Maudoux
057cfb29e8 Improve code (#2458) 2021-02-18 23:35:25 +01:00
Maxime Besson
122512f01a Fix deserialization of array conf attributes (#2469) 2021-02-18 22:08:47 +01:00
Maxime Besson
cceb6f767e Use a dedicated function for OIDC error reporting (#2465) 2021-02-18 22:06:39 +01:00
Christophe Maudoux
482d1102be Improve modal (#1976) 2021-02-17 22:37:22 +01:00
Soisik Froger
6aab33615c Use timezone provided in input dates in extended function "checkDate" (#2462) 2021-02-17 11:30:38 +00:00
Christophe Maudoux
5f7981e256 Improve error message & unit test (#2458) 2021-02-16 22:04:38 +01:00
Christophe Maudoux
1757cf5337 Merge branch 'CheckDevOps-plugin' into 'v2.0'
Check DevOps file plugin (#2458)

See merge request lemonldap-ng/lemonldap-ng!178
2021-02-16 18:46:19 +00:00
Christophe Maudoux
d9a0034e7c Fix warning 2021-02-16 19:07:30 +01:00