Commit Graph

10293 Commits

Author SHA1 Message Date
Maxime Besson
91ba11b898 API: change success codes (#2034) 2020-04-22 11:55:53 +02:00
Maxime Besson
b36a891dfb Api: replace regep pattern with globs (#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
4a610f036d API: return 409 on resource conflicts (#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
ceac3e7d6f API: change clientID to clientId in options (#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
0d951c55f1 API: Check configuration validity before saving (#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
34389242cb API: handle oidc RedirectURI as array (#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
1a37940ea9 improve api unit tests output (#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
e0edd1449b Hide prefix from option names in API (#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
369c08337c Add per-service macros to API (#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
53a1e61394 Fix extraClaims name in API (#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
2f8be3eb57 API: change error codes from 405 to 400 (#2033,#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
09ed2197df Config parser: fail if a "select"-type option does not contain a scalar 2020-04-22 11:41:43 +02:00
Maxime Besson
a9b1b6bc1d configuration parser: check metadata/vhost options for syntax (#2166) 2020-04-22 11:41:36 +02:00
Maxime Besson
ecbcc0b6b6 Fix #2081 by detecting external URL 2020-04-22 11:25:06 +02:00
Maxime Besson
aa84a4213e Unit test for #2164 2020-04-22 11:02:59 +02:00
Maxime Besson
92af252ae9 Make SingleSession configurable by rule (#2164) 2020-04-22 11:02:59 +02:00
Maxime Besson
42b650247b Change singleSession options to allow a rule (#2164) 2020-04-22 11:02:59 +02:00
Maxime Besson
0983c66139 Portal: add helper method to build a rule from a string 2020-04-22 11:02:59 +02:00
Xavier Guimard
1a13e3d0dc Really fix #2161 2020-04-21 22:09:40 +02:00
Xavier Guimard
e54a98c029 Update combination test 2020-04-21 21:17:44 +02:00
Maxime Besson
956afaee44 Fix manager labels for SingleSession (#2159) 2020-04-21 10:19:09 +02:00
Maxime Besson
42ba7d6111 Improve SingleSession unit test (#2159) 2020-04-21 10:19:09 +02:00
Maxime Besson
b8d72e21b4 fix display of deleted sessions (#2159) 2020-04-21 10:18:50 +02:00
Maxime Besson
51e1d3651e Remove unused singleSessionUserByIP option (#2159) 2020-04-21 10:17:44 +02:00
Xavier Guimard
faadd4fc52 DBI: verify parameters during init (Fixes: #2161) 2020-04-21 07:55:07 +02:00
Christophe Maudoux
cd8f8bd847 Typo (#2159) 2020-04-21 00:03:45 +02:00
Maxime Besson
deab21e091 RESTServer: Clarify error message when time skew is too great 2020-04-20 17:14:32 +02:00
Christophe Maudoux
dcef93eea9 Update version (#2154) 2020-04-19 19:25:26 +02:00
Christophe Maudoux
57c8c37732 Change sfRequired option label (#2156) 2020-04-19 18:59:27 +02:00
Maxime Besson
55f3ca0e77 Improve error reporting for SAML replay protection 2020-04-18 19:54:02 +02:00
Christophe Maudoux
f7bedaf088 Improve unit test (#1999) 2020-04-18 19:01:56 +02:00
Christophe Maudoux
e00cb0ecf0 use localDate & Improve unit test (#1999) 2020-04-18 11:50:07 +02:00
Christophe Maudoux
b3a1cedc5b Allow time drift 2020-04-18 00:33:21 +02:00
Christophe Maudoux
612682fddb Sort active sessions (#1999) 2020-04-18 00:32:21 +02:00
Clément OUDOT
8a5a93d6ac Fix GitHub parameters in Manager (#2154) 2020-04-18 00:26:24 +02:00
Clément OUDOT
a5eadc49d3 Add GitHub parameters in Manager (#2154) 2020-04-18 00:08:43 +02:00
Clément OUDOT
fb29673fdf GitHub authentication module (#2154) 2020-04-17 23:34:45 +02:00
Christophe Maudoux
6623b90199 Allow time drift 2020-04-17 20:01:02 +02:00
Christophe Maudoux
478d205f07 Code refactoring & Tidy (#2138) 2020-04-17 20:00:36 +02:00
dcoutadeur dcoutadeur
2c6df4dfc0 Merge branch 'logoutforward' into 'v2.0'
fix #2138 logout forward doesn't work anymore

See merge request lemonldap-ng/lemonldap-ng!136
2020-04-17 17:56:48 +02:00
dcoutadeur
c984bb8b4a fix CAS logoutServices (see #2138 logout forward doesn't work anymore) 2020-04-17 17:36:43 +02:00
dcoutadeur
641c523b62 revert c1b61f535 fix CAS logoutServices 2020-04-17 17:14:16 +02:00
dcoutadeur
c1b61f535a fix CAS logoutServices (see #2138 logout forward doesn't work anymore) 2020-04-17 16:56:35 +02:00
dcoutadeur
17e56da82b cleaner solution for #2138 logout forward doesn't work anymore 2020-04-17 16:26:40 +02:00
Christophe Maudoux
427a0c7f9f Merge branch 'fix-ssl-error-reporting-2110' into 'v2.0'
Fix ssl error reporting (#2110)

See merge request lemonldap-ng/lemonldap-ng!132
2020-04-17 10:51:42 +02:00
Christophe Maudoux
c3f7755055 Merge branch 'v2.0' into fix-ssl-error-reporting-2110 2020-04-16 23:05:09 +02:00
Christophe Maudoux
b82bdd9e6f Tidy 2020-04-16 22:46:11 +02:00
Christophe Maudoux
4521705013 Avoid to create an empty SSO session (#1783) 2020-04-16 22:42:40 +02:00
Clément OUDOT
23d2e527b1 Revert "Fix returned values - Propage #1954" (#2128)
This reverts commit 6329887871.
2020-04-16 21:48:58 +02:00
dcoutadeur
cd15ac7a67 fix #2138 logout forward doesn't work anymore 2020-04-16 17:27:14 +02:00