Maxime Besson
1c08d2bd4a
Add unit test for #1500
2019-10-01 14:50:22 +02:00
Xavier
461cd51e45
Try to fix #1785 without breaking pdata
2019-09-29 23:04:17 +02:00
Christophe Maudoux
1bcd34979d
Fix unit text ( #1949 )
2019-09-26 21:30:24 +02:00
Christophe Maudoux
c34c6e646e
Append search parameters & improve unit test ( #1938 )
2019-09-19 22:51:10 +02:00
Christophe Maudoux
84778604fd
Typo
2019-09-18 21:01:24 +02:00
Christophe Maudoux
6b7c4bcfa4
Fix unit test ( #1931 )
2019-09-16 22:37:56 +02:00
Maxime Besson
c94e2534a9
Send CORS headers when doing JSON responses too ( #1765 )
2019-09-16 16:55:15 +02:00
Maxime Besson
e281ad7cc3
Add support for CORS preflight ( #1765 )
2019-09-16 16:55:15 +02:00
Christophe Maudoux
d4c04b3166
Improve unit tests ( #1935 )
2019-09-15 19:39:27 +02:00
Christophe Maudoux
7da4d0c773
Improve unit test ( #1932 )
2019-09-14 23:07:19 +02:00
Christophe Maudoux
f1c97fdde5
Improve unit test ( #1935 )
2019-09-13 23:23:21 +02:00
Clément OUDOT
c917a5f44d
Unit test for Mail password reset + Combination + LDAP ( #1903 )
2019-09-09 16:23:50 +02:00
Christophe Maudoux
132f42d44c
Forbid browsers to store users password & Improve unit tests ( #1913 )
2019-09-08 19:28:28 +02:00
Maxime Besson
e56829582c
Fix unit test for #1881
...
tidy code + fix comparison/assignment mixup
2019-09-05 08:55:57 +02:00
Clément OUDOT
a2d3ae1d03
Local password policy: minimal digits ( #993 )
2019-09-03 19:08:19 +02:00
Clément OUDOT
b52bbdb838
Local password policy: minimal upper characters ( #993 )
2019-09-03 18:45:35 +02:00
Clément OUDOT
ef3d6a26c4
Local password policy: minimal lower characters ( #993 )
2019-09-03 16:10:04 +02:00
Clément OUDOT
8998eb183e
Local password policy: minimal size ( #993 )
2019-09-03 14:30:22 +02:00
Clément OUDOT
82a06fce91
Pass skin parameter in 2F flows ( #1915 )
2019-09-03 11:56:48 +02:00
Xavier
e05d948ac4
Fix test ( #1908 )
2019-09-02 23:18:25 +02:00
Xavier
a04bbf15b7
Add timeout for configuration load ( #1908 )
2019-09-02 23:01:09 +02:00
Xavier
352177b6ea
Set a timeout for sessions ( #1908 )
2019-09-02 23:01:09 +02:00
Maxime Besson
d61935ab6e
Implement introspection endpoint for access tokens ( #1843 )
2019-08-29 19:10:51 +02:00
Maxime Besson
c961467d41
tests: make expectReject more flexible
2019-08-29 18:51:23 +02:00
Xavier Guimard
aeff014f79
Parallel tests
2019-08-29 10:48:55 +02:00
Maxime Besson
810d2c7f94
Disable template cache to avoid translation issues in mail ( #1897 )
2019-08-27 23:13:36 +02:00
Xavier Guimard
6ebab8c082
Typo2
2019-08-27 10:35:25 +02:00
Xavier Guimard
88c264b787
Typo
2019-08-27 10:34:40 +02:00
Xavier Guimard
48883dbe4e
More tests
2019-08-27 10:32:26 +02:00
Xavier Guimard
323d92fa1b
Don't load Data::Dumper unless debug
2019-08-27 10:10:11 +02:00
Christophe Maudoux
ec59cc164c
Catch error earlier in process ( #1867 )
2019-08-24 23:26:42 +02:00
Maxime Besson
661a007b4a
Check OIDC access token expiration ( #1879 )
2019-08-21 12:18:55 +02:00
Christophe Maudoux
8d9c35f836
Improve unit test ( #1885 )
2019-08-20 22:11:40 +02:00
Christophe Maudoux
4d583ceb9c
Append a custom param to log ( #1885 )
2019-08-20 22:04:05 +02:00
Christophe Maudoux
5985e6d258
Fix REST service ( #1870 )
2019-08-17 17:11:28 +02:00
Christophe Maudoux
b1c637cfca
Revert "Append a custom param to be logged ( #1885 )"
...
This reverts commit 1e838f0487
2019-08-16 15:28:47 +02:00
Christophe Maudoux
1e838f0487
Append a custom param to be logged ( #1885 )
2019-08-16 15:25:21 +02:00
Christophe Maudoux
78a82dbee9
Override OTT conf. for Upgrade tokens ( #1884 )
2019-08-15 22:01:44 +02:00
Christophe Maudoux
09158f0084
Return whatToTrace instead of uid & Fix + Append unit test ( #1664 )
2019-08-10 12:38:25 +02:00
Christophe Maudoux
13378c3150
Fix unit test ( #1870 )
2019-08-09 23:28:43 +02:00
Christophe Maudoux
869dbb9e42
Fix unit test ( #1870 )
2019-08-09 23:15:34 +02:00
Maxime Besson
daa03a9a9c
OIDC: tie client_id to authorization code ( #1881 )
2019-08-09 13:54:53 +02:00
Christophe Maudoux
d565dc66c3
Improve unit test ( #1878 )
2019-08-07 23:03:49 +02:00
Christophe Maudoux
9dac92064c
Better fix & update unit tests ( #1861 )
2019-08-07 22:29:12 +02:00
Christophe Maudoux
7aad470586
Delete pdata cookie after XML notif validation & Improve unit test ( #1861 )
2019-08-06 22:29:48 +02:00
Christophe Maudoux
c630a90064
Delete pdata cookie after notif validation & Improve unit test ( #1861 )
2019-08-06 22:25:09 +02:00
Christophe Maudoux
742e7417d4
Better fix ( #1867 )
2019-08-06 21:04:52 +02:00
Christophe Maudoux
bf20db03b9
Improve unit test & fix ( #1867 )
2019-08-04 22:39:14 +02:00
Christophe Maudoux
ede8e28761
Typo
2019-08-04 22:39:14 +02:00
Maxime Besson
af602f91d6
Unit test for #1873
2019-08-04 19:31:48 +02:00
Christophe Maudoux
1422c28c0b
Improve fix & unit test ( #1874 )
2019-08-03 23:49:02 +02:00
Christophe Maudoux
6cf1c83151
Fix & Improve unit test ( #1874 )
2019-08-03 22:48:07 +02:00
Christophe Maudoux
c827418fef
Improve unit test ( #1874 )
2019-08-03 22:33:30 +02:00
Christophe Maudoux
44a6f2c960
Typo
2019-08-03 22:33:02 +02:00
Christophe Maudoux
5cb5406246
Typo ( #1862 )
2019-08-02 23:23:07 +02:00
Christophe Maudoux
3821e9e7d2
Append unit test ( #1867 )
2019-08-02 23:10:40 +02:00
Christophe Maudoux
6658204c7f
Improve unit test ( #1862 )
2019-08-02 23:09:51 +02:00
Christophe Maudoux
6c408ff0fb
Typo
2019-08-02 22:57:54 +02:00
Christophe Maudoux
46208d74fe
Improve unit test ( #1870 )
2019-08-02 21:58:08 +02:00
Maxime Besson
0febdda551
Fix unit tests
2019-08-02 18:03:10 +02:00
Christophe Maudoux
529c17042c
Improve unit test ( #1870 )
2019-08-01 20:26:50 +02:00
Maxime Besson
c1afdbefac
Add labels and logos to all 2F providers ( #1873 )
2019-08-01 17:27:14 +02:00
Christophe Maudoux
6a625c265c
Improve unit test ( #1862 )
2019-07-26 17:49:35 +02:00
Christophe Maudoux
ec199c9100
Improve unit test ( #1851 )
2019-07-26 17:49:35 +02:00
Christophe Maudoux
65a5a1d41b
Improve unit test ( #1851 )
2019-07-25 12:00:51 +02:00
Christophe Maudoux
11f2d0f34a
Improve notifications REST API & unit test ( #1851 )
2019-07-23 15:54:53 +02:00
Maxime Besson
d82f776df8
Allow multi instanciation of 2F modules ( #1860 )
...
This commit adds a manager interface to declare multiple instances of a
single 2F module, in a manner similar to Combination.
An additional portal code reads the `sfExtra` variable to load the
declared modules.
An empty rules means the module will be always active.
2019-07-22 19:30:37 +02:00
Christophe Maudoux
6d0967f16f
Improve unit test ( #1851 )
2019-07-22 15:40:16 +02:00
Christophe Maudoux
05cb1e1c91
Revert test-lib ( #1851 )
2019-07-22 15:39:04 +02:00
Christophe Maudoux
81aa2fb37b
Improve test-lib & unit test ( #1851 )
2019-07-21 23:23:20 +02:00
Christophe Maudoux
3972861ba4
WIP - Improve unit test & need to fix list notifications feature!!! ( #1851 )
2019-07-21 22:47:48 +02:00
Christophe Maudoux
3e50fbca20
Improve unit test ( #1851 )
2019-07-21 22:35:23 +02:00
Christophe Maudoux
34039ef7ef
Improve test-lib & unit test ( #1851 )
2019-07-21 21:56:09 +02:00
Christophe Maudoux
27116ca1af
Improve unit tests & update version ( #1853 )
2019-07-19 10:09:07 +02:00
Christophe Maudoux
b9aa198188
Improve unit test ( #1856 )
2019-07-18 13:38:10 +02:00
Christophe Maudoux
36a547cba5
Typo ( #1857 )
2019-07-18 13:12:12 +02:00
Christophe Maudoux
b6be20f988
Improve unit test ( #1857 )
2019-07-18 13:05:16 +02:00
Christophe Maudoux
304e511b66
Improve unit test ( #1857 )
2019-07-17 12:06:21 +02:00
Christophe Maudoux
24a1fdcdb9
Improve unit test ( #1857 )
2019-07-17 11:58:49 +02:00
Christophe Maudoux
b56331c649
Typo
2019-07-17 11:58:22 +02:00
Xavier Guimard
0b5fc64b0e
Keep original PATH_INFO during notification process ( Fixes : #1852 )
2019-07-12 10:34:38 +02:00
Xavier Guimard
a1df1157f4
Render CDA compatible with Try ( Fixes : #1849 )
2019-07-10 10:40:32 +02:00
Clément OUDOT
9b98893c44
Manage claims in ID token if no access token requested ( #1846 )
2019-07-08 15:15:13 +02:00
Clément OUDOT
ac618f551e
Prepare unit test for #1838
2019-07-08 14:26:13 +02:00
Christophe Maudoux
240617d8d8
Fix unit tests
2019-07-06 23:27:45 +02:00
Christophe Maudoux
619ea8258f
Improve unit test & fix warning - Expired sessions ( #1783 )
2019-07-06 23:00:24 +02:00
Christophe Maudoux
2d6c46920e
Fix & improve unit test ( #1844 )
2019-07-05 22:53:48 +02:00
Christophe Maudoux
2016abd2ee
Send pdata cookie to cross domain ( #1829 )
2019-07-04 21:49:28 +02:00
Xavier
ff6a3369a7
Fix warning
2019-07-03 22:34:48 +02:00
Xavier
2354a52e5f
Fix warning
2019-07-03 22:32:36 +02:00
Xavier Guimard
c1137edba8
make tidy with perltidy-20181120
2019-07-02 20:03:40 +02:00
Clément OUDOT
26c107cddb
Add unit test ( #1835 )
2019-07-02 17:47:27 +02:00
Clément OUDOT
7c7dad9ab6
Enforce ID token signature verification in unit test ( #1835 )
2019-07-02 17:27:17 +02:00
Xavier Guimard
f370255c3a
Fix Perl dependencies (see RT#129960)
2019-07-02 08:56:12 +02:00
Christophe Maudoux
b94cbe0144
Fix default value ( #1825 )
2019-07-01 13:28:01 +02:00
Christophe Maudoux
a1f5791e06
Merge branch '1783' into v2.0
2019-06-30 19:00:41 +02:00
Christophe Maudoux
5054f5ac95
Append unit test ( #1825 )
2019-06-29 21:13:08 +02:00
Christophe Maudoux
acd6e5513c
Improve unit test ( #1783 )
2019-06-29 00:16:37 +02:00
Christophe Maudoux
897d04ac93
Merge branch 'v2.0' into 1783
2019-06-28 22:05:48 +02:00
Xavier Guimard
44a6e25851
Improve cryptographic functions ( #1823 )
2019-06-28 10:30:37 +02:00
Christophe Maudoux
6519695797
Tidy ( #1783 )
2019-06-27 22:02:11 +02:00
Christophe Maudoux
bb39dca317
Append & update unit tests ( #1783 )
2019-06-27 21:54:14 +02:00
Christophe Maudoux
6510f854c8
Append unit test ( #1783 )
2019-06-27 21:13:10 +02:00
Maxime Besson
e1f927a195
Check service= parameter on CAS logout ( #1795 )
...
service= redirect URL is not checked when logging out from CAS, to avoid
insecure redirect attacks. The verification is only made if CAS access
control is enabled.
In order for this to work in common cases (applications redirects to an
unprotected page after logout), we add CAS App domains to the list of
globally trusted domains.
If your application wants to redirect to a third-party domain, it needs
to be added to LLNG's trustedDomains
2019-06-27 12:40:40 +02:00
Maxime Besson
5f9c4c231d
Add authenticated routes to 2FA for session upgrade ( #1822 )
2019-06-26 23:33:00 +02:00
Maxime Besson
98650cd9f0
Add unit test for #1821
2019-06-26 22:13:12 +02:00
Xavier Guimard
a42c5f9f71
Clean tests ( #1819 )
2019-06-26 13:17:26 +02:00
Xavier Guimard
e91f6df254
Fix test count ( #1813 )
2019-06-25 10:00:46 +02:00
Xavier Guimard
390ccb4f5b
Fix Apache::Session::REST::get_key_from_all_sessions when using CODE ( #1813 )
2019-06-25 09:48:15 +02:00
Xavier Guimard
ddde26fa1c
Add searchOn() in Apache::Session::REST ( #1813 )
2019-06-25 09:18:58 +02:00
Xavier
c5d6bc42b6
Add get_key_from_all_sessions in Apache::Session::REST ( #1813 )
2019-06-24 23:07:34 +02:00
Xavier
750eaafe65
Fix test rule to hide some warnings
2019-06-20 21:48:13 +02:00
Xavier
38bb0cedf6
Typo
2019-06-20 21:27:49 +02:00
Xavier
8bd2a6c244
Prove that sessionInfo() is launched by each UserDB in combination ( #1809 )
2019-06-20 21:17:29 +02:00
Xavier
2d5b38fb95
Fix LDAP schema path for Debian. This permits to enable LDAP tests during build
2019-06-19 09:22:44 +02:00
Xavier
05f2dc6993
Fix t/28-AuthChoice-and-password.t
2019-06-19 09:14:03 +02:00
Christophe Maudoux
9fa11709e6
Append options to use Notifications plugin & set notification reference ( #1796 )
2019-06-17 22:31:44 +02:00
Antoine ROSIER
dab5a9c3df
Improve displaying checkuser template and rewrite tests #1806
2019-06-17 14:56:31 +02:00
Christophe Maudoux
862116245d
Fix unit tests ( #1796 )
2019-06-16 23:01:13 +02:00
Christophe Maudoux
c3b3c281ad
Hide _2fDevices with REST services
2019-06-16 20:33:34 +02:00
Christophe Maudoux
d6f3dd459a
Display message ( #1796 )
2019-06-16 16:02:48 +02:00
Xavier
8cc2beb976
Fix #1799 test
2019-06-15 08:42:21 +02:00
Xavier
e30cf69053
Add #1799 test
2019-06-15 08:29:36 +02:00
Christophe Maudoux
5218944bf2
Improve unit tests ( #1796 )
2019-06-14 23:11:10 +02:00
Christophe Maudoux
fde6ff2cc8
WIP ( #1796 )
2019-06-14 23:09:32 +02:00
Xavier Guimard
65eaefa75f
Tidy
2019-06-14 17:23:26 +02:00
Xavier
bb0784b843
Typo
2019-06-13 22:15:46 +02:00
Xavier
8d642da8cb
Improve #1782
2019-06-13 22:10:30 +02:00
Xavier
c8696262ee
Test that proves that Choice can be embedded in Combination ( #1801 )
...
TODO: display fails
2019-06-13 19:58:34 +02:00
Xavier Guimard
2a021e37ea
Don't require getDisplayType in Choice ( #1800 )
2019-06-13 17:51:36 +02:00
Xavier Guimard
288fe5159c
Merge remote-tracking branch 'maxbes/issue1764-langsession' into v2.0
2019-06-13 09:59:33 +02:00
Maxime Besson
0cd12999dd
Make impersonation tests insensitive to ordering
2019-06-13 09:26:19 +02:00
Maxime Besson
1a66da30f9
Store portal language in _language user session key ( #1764 )
2019-06-13 09:26:19 +02:00
Christophe Maudoux
53daa6cee6
Improve unit tests ( #1782 )
2019-06-12 22:33:18 +02:00
Xavier
eef82808a2
Improve #1795 test
2019-06-11 21:49:27 +02:00
Xavier
a6aaf8a507
Add XSS test ( #1795 )
2019-06-11 21:30:15 +02:00
Maxime Besson
97d0bbf0aa
Fix CASv2 logout ( #1753 )
2019-06-11 16:18:15 +02:00
Xavier Guimard
9e932b525c
Merge branch 'issue1794-accentregister' into 'v2.0'
...
Register: better handling of special chars (#1794 )
See merge request lemonldap-ng/lemonldap-ng!78
2019-06-10 22:57:34 +02:00
Maxime Besson
f195db2a5a
Register: better handling of special chars ( #1794 )
2019-06-10 22:45:15 +02:00
Christophe Maudoux
e638f5ff58
Improve & rename unit test ( #1782 )
2019-06-10 20:56:22 +02:00
Christophe Maudoux
0fd070cbad
Append unit test ( #1791 )
2019-06-08 22:22:08 +02:00
Christophe Maudoux
e57de60ac2
Improve unit tests ( #1791 )
2019-06-08 22:09:32 +02:00
Christophe Maudoux
ee7af4aec0
Improve unit tests ( #1782 )
2019-06-07 19:51:51 +02:00
Xavier
f4bca7430a
Add addAuthRouteWithRedirect() method to Try ( #1787 )
2019-06-06 22:59:02 +02:00
Christophe Maudoux
59637200fd
Improve unit test ( #1774 )
2019-06-04 23:18:35 +02:00
Christophe Maudoux
2b21762a9a
Update unit tests ( #1774 )
2019-06-04 18:18:53 +02:00
Christophe Maudoux
02b7126d16
Append unit test ( #1780 )
2019-06-02 22:40:19 +02:00
Christophe Maudoux
0546af93e0
Append diag msg
2019-06-02 22:38:34 +02:00
Christophe Maudoux
5ce1220d76
Rename test file
2019-06-02 22:37:54 +02:00
Christophe Maudoux
9123cb0c35
Append unit test ( #1781 )
2019-06-01 23:22:48 +02:00