Commit Graph

4045 Commits

Author SHA1 Message Date
Maxime Besson
66c68f6056 Merge branch 'feature-delayed-2fa-2124' into 'v2.0'
Delay 2FA until required by an application

See merge request lemonldap-ng/lemonldap-ng!147
2020-09-04 17:40:46 +02:00
Maxime Besson
f9cdb5497a Only clean _url part of pdata when redirecting to issuer (#1878,#2124) 2020-09-04 17:17:04 +02:00
Maxime Besson
00da613dfc Unit tests for #2124 2020-09-04 17:17:04 +02:00
Maxime Besson
b2bfa38d5a Handle errors when no 2FA is available during upgrade (#2124) 2020-09-04 17:17:04 +02:00
Maxime Besson
eb191be72e Add error message when no sf available during upgrade (#2124) 2020-09-04 17:17:02 +02:00
Maxime Besson
0c9e3d1da3 Fix unit tests for new renew session URL (#2124) 2020-09-04 17:16:11 +02:00
Maxime Besson
f69babadef Differentiate renew and upgrade in Upgrade plugin (#2124) 2020-09-04 17:16:11 +02:00
Maxime Besson
1cf1990fe2 Add portal code for session upgrade 2020-09-04 17:15:34 +02:00
Maxime Besson
bd110e7de6 cas issuer: check auth level and reauth if insufficient (#2124) 2020-09-04 17:15:34 +02:00
Maxime Besson
ce5c19e3f4 saml issuer: check auth level and reauth if insufficient (#2124) 2020-09-04 17:15:34 +02:00
Maxime Besson
7a36489b73 oidc issuer: check auth level and reauth if insufficient (#2124) 2020-09-04 17:15:34 +02:00
Maxime Besson
e811ea3b2d Skip 2FA if target level is enough (#2124) 2020-09-04 17:15:34 +02:00
Maxime Besson
ef6b8587ee Remember target authlevel in handler (#2124) 2020-09-04 17:14:05 +02:00
Maxime Besson
8bfa5179cc Issuers: Store required auth level in pdata (#2124) 2020-09-04 17:14:04 +02:00
Clément OUDOT
e86293e165 Merge branch 'v2.0' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng into v2.0 2020-09-04 16:14:37 +02:00
Clément OUDOT
828ecd7bfb Show password form with change password after reset (#2307) 2020-09-04 16:14:17 +02:00
Maxime Besson
ffb7c7430d Fix encoding workaround in recursive group search (#2306) 2020-09-03 15:59:18 +02:00
Christophe Maudoux
39ba25f91d Improve unit test (#2289) 2020-08-29 18:02:19 +02:00
Christophe Maudoux
28e7e632af Fix unit test 2020-08-29 12:25:13 +02:00
Christophe Maudoux
b4222b50f3 Tidy & Update doc 2020-08-28 23:50:57 +02:00
Christophe Maudoux
779fd983e5 Typo (#2302) 2020-08-28 21:56:54 +02:00
Christophe Maudoux
317172c8ac Fix unit tests (#2276) 2020-08-28 14:44:03 +02:00
Christophe Maudoux
525eab006d Improve unit test (#2276) 2020-08-28 10:41:40 +02:00
Christophe Maudoux
8b6ab584cf WIP: Update langs & append conf test (#2276) 2020-08-27 14:38:11 +02:00
Christophe Maudoux
4d52fedfe5 WIP - Incremental tempo 2020-08-25 22:58:47 +02:00
Maxime Besson
c5900ece14 Kerberos: fail with an explicit message on NTLM ticket (#2295) 2020-08-25 20:01:28 +02:00
Maxime Besson
bcb6c428f1 Fix unit test (#2271) 2020-08-25 18:27:25 +02:00
Clément OUDOT
f158961fa6 Fix bad reference usage on hash 2020-08-25 00:27:06 +02:00
Clément OUDOT
3a52c220b5 Adapt unit tests to new HTML code (#2271) 2020-08-25 00:24:54 +02:00
Clément OUDOT
fd42b1a319 Close input tags (#2271) 2020-08-25 00:09:10 +02:00
Clément OUDOT
1655b35fcc Improve labels in all forms (#2271) 2020-08-25 00:06:12 +02:00
Clément OUDOT
b5a61310cd Better HTML code for notifications checkboxes (#2271) 2020-08-24 23:31:35 +02:00
Clément OUDOT
a1c202141e Keep font awesome classes in dedicated markups (#2271) 2020-08-24 23:30:44 +02:00
Christophe Maudoux
e84b29aca4 Display special chars password policy with expired password form (#2289) 2020-08-24 22:43:15 +02:00
Maxime Besson
a7b09f8dbb Auth::SAML: fix warning on empty session index (#2291) 2020-08-24 17:24:55 +02:00
Maxime Besson
3bec9351f0 Add js code to check ppolicy (#2249) 2020-08-21 16:40:09 +02:00
Maxime Besson
cdafab6bfe Unit test fix for #2249 2020-08-21 16:38:31 +02:00
Maxime Besson
93fdff4f08 Modify ppolicy template for feedback (#2249) 2020-08-21 16:38:31 +02:00
Maxime Besson
e24d808586 Export ppolicy config to JS (#2249) 2020-08-21 16:34:14 +02:00
Maxime Besson
b85072251a Unit tests for #2280 2020-08-17 22:08:08 +02:00
Maxime Besson
5e78464d7f Resolve nameid session attribute from local macros (#2280) 2020-08-17 22:06:09 +02:00
Maxime Besson
9ac49b881a Lookup casAppMetaDataOptionsUserAttribute in per-app macros (#2280) 2020-08-17 22:06:09 +02:00
Maxime Besson
52c6edb453 Lookup oidcRPMetaDataOptionsUserIDAttr in per-RP macros (#2280) 2020-08-17 22:06:09 +02:00
Maxime Besson
4497f39efe Factor psession id calculation into Common 2020-08-17 18:43:29 +02:00
Maxime Besson
77b4dff20d Unit tests for #2281 2020-08-17 18:05:09 +02:00
Maxime Besson
26cd1945fb Try to compute the correct value of SameSite by default (#2281) 2020-08-17 18:05:09 +02:00
Christophe Maudoux
192861d639 Improve unit tests (#2275) 2020-08-16 12:11:31 +02:00
Maxime Besson
7a02fdf8e5 rollback caa346d075 (#2179)
No longer needed since #2261
2020-08-12 09:49:14 +02:00
Maxime Besson
9d9e16e3f9 Remove setAuthSessionInfo from refresh process (#2261) 2020-08-12 09:49:14 +02:00
Christophe Maudoux
ca514f69e5 Fix version (#2274) 2020-08-11 22:43:32 +02:00