Christophe Maudoux
11a537d2fa
Improve unit test ( #1916 )
2019-11-04 21:11:31 +01:00
Xavier Guimard
91cf0d1187
Merge branch 'unit-tests-fake-time' into 'v2.0'
...
Use Time::Fake to avoid sleeping during tests
See merge request lemonldap-ng/lemonldap-ng!103
2019-11-04 20:37:07 +01:00
Maxime Besson
713737c11f
Add an option to return claims in ID token
2019-11-04 18:27:28 +01:00
Maxime Besson
983a4e6485
Use Time::Fake to avoid sleeping during tests
2019-11-04 18:11:32 +01:00
Maxime Besson
b34a229eda
Add doc for buildUserInfoResponseFromId
2019-11-04 10:47:35 +01:00
Maxime Besson
68704955d2
Apply suggestion to lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Issuer/OpenIDConnect.pm
2019-11-04 10:47:35 +01:00
Maxime Besson
2c1c1dc953
Add unit test for online refresh tokens ( #813 )
2019-11-04 10:44:54 +01:00
Maxime Besson
a386a7502a
Allow refresh tokens to be emitted for regular sessions ( #813 )
2019-11-04 10:44:54 +01:00
Maxime Besson
36eb80559f
Add unit test for Offline sessions ( #813 )
2019-11-04 10:44:54 +01:00
Maxime Besson
ea2365cc98
Implement OIDC Offline sessions through refresh tokens ( #813 )
2019-11-04 10:44:54 +01:00
Christophe Maudoux
c01c26af6a
Append option to override Issuer OTT storage ( #1993 )
2019-10-31 11:40:33 +01:00
Christophe Maudoux
0182b793a4
Merge branch '1988' into 'v2.0'
...
Append an authentication level option for each URI (#1988 )
See merge request lemonldap-ng/lemonldap-ng!101
2019-10-30 20:40:21 +01:00
Maxime Besson
7d3b2a95a5
Avoid setting req->user to emtpy value in Demo module
...
This can cause issues when using Combination and password reset in
testing environments
2019-10-30 20:22:37 +01:00
Christophe Maudoux
21b1e75a4d
Merge branch 'v2.0' into 1988
2019-10-30 16:35:44 +01:00
Maxime Besson
5b2f3ca576
Merge branch 'remove-saml-idp-cookie-1941' into 'v2.0'
...
Remove SAML IDP cookie (#1941 )
See merge request lemonldap-ng/lemonldap-ng!99
2019-10-30 16:01:11 +01:00
Christophe Maudoux
75a92767f5
Merge branch 'v2.0' into 1988
2019-10-29 22:39:15 +01:00
Christophe Maudoux
6f31056a5b
debug -> error
2019-10-29 22:21:58 +01:00
Christophe Maudoux
12cd2679b7
Cleaning code
2019-10-29 22:20:47 +01:00
Christophe Maudoux
a3169c4480
Improve unit tests ( #1988 )
2019-10-29 22:18:23 +01:00
Xavier
93500b85de
Update test lib to override host if needed
2019-10-29 20:59:36 +01:00
Christophe Maudoux
c979e08ea2
Merge branch 'v2.0' into 1988
2019-10-29 19:33:31 +01:00
Clément OUDOT
fb74d03a89
Use whatToTrace for logging messages ( #1991 )
2019-10-29 17:28:55 +01:00
Christophe Maudoux
d343cc426a
Fix unit tests
2019-10-27 23:08:26 +01:00
Christophe Maudoux
692f938188
Fix unit tests
2019-10-27 22:14:51 +01:00
Christophe Maudoux
aff70428a8
Improve unit test ( #1988 )
2019-10-27 22:02:49 +01:00
Christophe Maudoux
f9619fd4b9
Merge branch 'v2.0' into 1988
2019-10-27 21:16:15 +01:00
Christophe Maudoux
9892173cc3
Tidy & update version ( #1989 )
2019-10-27 21:15:48 +01:00
Christophe Maudoux
bf3a7ee131
Merge branch 'v2.0' into 1988
2019-10-27 21:13:50 +01:00
Christophe Maudoux
73d83dd7f0
Append missing parameters & improve unit test ( #1989 )
2019-10-27 21:13:25 +01:00
Christophe Maudoux
b135d807b6
Improve unit test ( #1988 )
2019-10-27 21:06:08 +01:00
Maxime Besson
30a16ada2d
new expectJSON function in test-lib
2019-10-25 18:06:32 +02:00
Maxime Besson
ed3e274ab1
Fix force password reset in Combination ( #1984 )
2019-10-24 08:58:04 +02:00
Maxime Besson
4afecb4620
Remove IDP cookie ( #1941 )
2019-10-17 23:09:03 +02:00
Christophe Maudoux
3c2ecfd04a
Tidy ( #1956 )
2019-10-13 22:47:57 +02:00
Christophe Maudoux
6adbf402a0
Typo ( #1956 )
2019-10-13 22:38:46 +02:00
Christophe Maudoux
c312955603
Append unit test ( #1956 )
2019-10-13 22:30:40 +02:00
Christophe Maudoux
f188426f8b
Fix custom function parameter ( #1956 )
2019-10-13 22:29:12 +02:00
Christophe Maudoux
4179fc871e
Append unit test ( #1956 )
2019-10-13 18:30:43 +02:00
Christophe Maudoux
0ca649f106
Use custom decrypt functions ( #1956 )
2019-10-13 15:08:32 +02:00
Maxime Besson
2b4defb2a9
Prevent portal from crashing when keepPdata=1 ( #1893 )
...
Since the changes introduced to fix #1893 , keepPdata is expected to
contain an array of values.
When migrating from previous LLNG versions, cookies may contain
keepPdata=1, which crashes the server because 1 isn't an arrayref
This change makes LLNG consider that keepPdata=1 is not a valid value,
and replaces it with an empty arrayref when starting the login or logout
flow.
2019-10-09 17:35:48 +02:00
Maxime Besson
a130cd38b9
Fix notification unit tests for parallel execution
2019-10-09 00:36:44 +02:00
Maxime Besson
ff9bb46301
Make notification system take pdata url into account ( #1893 )
2019-10-08 22:40:10 +02:00
Maxime Besson
2bce713f65
Set issuer urldc in pdata ( #1893 )
2019-10-08 22:40:10 +02:00
Maxime Besson
3ee708d8ff
Delay cookie restore after hooks ( #1965 )
2019-10-07 17:26:40 +02:00
Christophe Maudoux
1d59339627
Update unit test ( #1956 )
2019-10-01 19:55:48 +02:00
Maxime Besson
474bb48aa1
Make Password::LDAP/AD check connection before use ( #1909 )
...
Also remove a mostly redundant wrapper method in Auth::LDAP
2019-10-01 19:17:31 +02:00
Maxime Besson
fa49e77495
Better logs in case of a LDAP error
2019-10-01 15:14:51 +02:00
Maxime Besson
1c08d2bd4a
Add unit test for #1500
2019-10-01 14:50:22 +02:00
Clément OUDOT
a239091553
Load String::Random ( #1963 )
2019-10-01 14:49:41 +02:00
Christophe Maudoux
138cfe6edb
Append DecryptValue plugin ( #1956 )
2019-09-30 22:29:49 +02:00