Commit Graph

1671 Commits

Author SHA1 Message Date
Christophe Maudoux
45216d2ed8 WIP - Test (#480) 2018-08-08 23:20:52 +02:00
Christophe Maudoux
2f910aa87b Fix mistake (#1480) 2018-08-08 10:19:16 +02:00
Christophe Maudoux
a3ef440fe2 WIP - Append debug message (#1480) 2018-08-08 10:13:58 +02:00
Christophe Maudoux
700f08ad33 Fix mistake (#1480) 2018-08-08 10:09:33 +02:00
Christophe Maudoux
1bebba42c3 WIP - Partial revert and debug messages appended to test (#1480) 2018-08-08 09:51:06 +02:00
Christophe Maudoux
6619e56714 WIP - Add CSP form-action attribute in LLNG conf. Need more tests (#1480) 2018-08-07 23:54:42 +02:00
Xavier Guimard
f7144908e9 Fix CDC (#1477) 2018-08-02 22:00:41 +02:00
Christophe Maudoux
942499cd66 Fix comments typo 2018-07-26 20:54:19 +02:00
Xavier Guimard
b6a5622ae4 Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-07-26 06:50:06 +02:00
Xavier Guimard
dc60ea7744 $req was missing (fixes: #1484) 2018-07-26 06:49:25 +02:00
Christophe Maudoux
1551398025 Fix translate 2018-07-24 21:26:37 +02:00
Christophe Maudoux
9464c47a13 Cleaning code + perltidy (#1464) 2018-07-20 20:19:27 +02:00
Christophe Maudoux
bcd876924c Fix mistake (#1464) 2018-07-20 19:41:26 +02:00
Christophe Maudoux
9efe2f3161 Add debug info (#1464) 2018-07-20 19:33:23 +02:00
Christophe Maudoux
8ee066b706 Delete old consent (#1464) 2018-07-20 00:02:35 +02:00
Christophe Maudoux
9403990a8c perltidy (#1464) 2018-07-19 23:38:44 +02:00
Christophe Maudoux
90fd401c80 Merge branch 'master' into 1464 2018-07-19 23:02:48 +02:00
Christophe Maudoux
8eb1b8674c Add OIDC Consents convert function (#1464) 2018-07-19 23:02:06 +02:00
Xavier Guimard
d1ee05540e #1477 in progress 2018-07-19 08:38:51 +02:00
Xavier Guimard
a5efca5388 Remove trailing whitespaces (#1464) 2018-07-19 07:55:55 +02:00
Christophe Maudoux
7dafa25145 Merge branch 'master' into 1464 2018-07-19 00:28:02 +02:00
Christophe Maudoux
7d376dc2b2 Merge branch '1464' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng into 1464 2018-07-18 18:59:53 +02:00
Xavier Guimard
9bb2e5a44a Fix cookies search (#1477) 2018-07-18 15:59:03 +02:00
Christophe Maudoux
946a3d2bc8 Merge branch 'master' into 1464 2018-07-18 15:49:09 +02:00
Xavier Guimard
3f1ba3440a CDC plugin skeleton (#1477) 2018-07-18 15:44:24 +02:00
Clément OUDOT
e0ea7ae2c0 SAML CDC (#1477) 2018-07-18 10:31:54 +02:00
Xavier Guimard
22e5eb6986 Remove SAML redirection screen (#1465) 2018-07-18 08:02:48 +02:00
Christophe Maudoux
ded9393da4 Delete revoked consents (#1464) 2018-07-17 22:38:01 +02:00
Christophe Maudoux
cdd6aab89b WIP - Delete revoked consents (#1464) 2018-07-17 22:28:39 +02:00
Christophe Maudoux
e3197a5226 WIP - Delete revoked consents (#1464) 2018-07-17 22:17:45 +02:00
Christophe Maudoux
6a64f87ccc WIP - Delete revoked consents (#1464) 2018-07-17 21:59:07 +02:00
Christophe Maudoux
0bbcf4a6cc WIP - Delete revoked consents (#1464) 2018-07-17 21:44:13 +02:00
Christophe Maudoux
d269db6346 WIP - Delete revoked consents (#1464) 2018-07-17 21:36:51 +02:00
Christophe Maudoux
344c7a644f WIP - Delete revoked consents (#1464) 2018-07-17 19:12:35 +02:00
Christophe Maudoux
da44a7c83e perltidy (#1464) 2018-07-17 18:18:50 +02:00
Christophe Maudoux
e1917a59de Delete revoked consents (#1464) 2018-07-17 18:15:17 +02:00
Christophe Maudoux
72920d1ede Modify oidcConsents key structure (#1464) - perltidy 2018-07-16 23:00:44 +02:00
Christophe Maudoux
eff809424c Modify oidcConsents key structure (#1464) - perltidy 2018-07-16 22:56:43 +02:00
Christophe Maudoux
96912d9c27 WIP - Modify oidcConsents key structure (#1464) 2018-07-16 22:47:36 +02:00
Christophe Maudoux
949200c6a0 WIP - Modify oidcConsents key structure(#1464) 2018-07-16 22:34:11 +02:00
Christophe Maudoux
3fbf577a2f WIP - Modify oidcConsents key structure 2018-07-16 22:17:23 +02:00
Christophe Maudoux
8f202411c1 Fix typo 2018-07-16 11:50:49 +02:00
Christophe Maudoux
c381ae86b6 WIP - Modify oidcConsents key structure 2018-07-15 22:08:30 +02:00
Christophe Maudoux
4885fce87f WIP - Modify oidcConsents key structure 2018-07-15 21:25:12 +02:00
Christophe Maudoux
fa7c2eb6ca WIP - Modify oidcConsents key structure 2018-07-15 20:48:50 +02:00
Christophe Maudoux
c5685fa56a WIP - Modify oidcConsents key structure 2018-07-15 19:37:59 +02:00
Christophe Maudoux
eff2b66cf2 WIP - Modify oidcConsents key structure 2018-07-15 19:17:48 +02:00
Christophe Maudoux
8d5693dc1d WIP - Modify oidcConsents key structure 2018-07-15 17:53:06 +02:00
Christophe Maudoux
814b571fa9 WIP - Modify oidcConsents key structure 2018-07-15 17:31:58 +02:00
Christophe Maudoux
d9607ae32c WIP - Modify oidcConsents key structure 2018-07-15 16:10:27 +02:00
Christophe Maudoux
2db9b2bce7 Fix pod mistake 2018-07-13 20:54:52 +02:00
Xavier Guimard
16dfbed636 Tidy 2018-07-12 09:04:05 +02:00
Clément OUDOT
b634bc91c2 token_type is case insensitive (#1474) 2018-07-10 18:53:40 +02:00
Xavier Guimard
c118a60c1e Fix "cancel" feature (#1461) 2018-07-10 11:43:36 +02:00
Xavier Guimard
8353215adb Add authCancel entry point (#1461)
UNTESTED !!!
@clement_oudot: not enough time to test this morning
2018-07-10 07:11:08 +02:00
Xavier Guimard
1da367576e Reinitialize choice when module failed (#1461) 2018-07-06 16:07:25 +02:00
Xavier Guimard
ea48c78a28 Change choice order (#1461) 2018-07-06 14:44:41 +02:00
Xavier Guimard
aa1e9b44d5 Delete pdata on logout (#1461) 2018-07-06 12:15:14 +02:00
Xavier Guimard
0f7b3ca71d make tidy 2018-07-05 23:00:40 +02:00
Xavier Guimard
b2620c2679 s/datas/data
datas => des données
data => les données
2018-07-05 22:56:16 +02:00
Xavier Guimard
9402f9fff4 Update doc (#1461) 2018-07-05 22:28:26 +02:00
Xavier Guimard
1a6f717dfc Use pdata in Choice (#1461) 2018-07-05 22:05:24 +02:00
Xavier Guimard
7b1fd1eae7 Escape pdata cookie value (#1461)
This fixes CI failure with Debian/stable
2018-07-05 21:22:47 +02:00
Xavier Guimard
b790270794 Fix issuers use of pdata (#1461) 2018-07-05 18:45:29 +02:00
Xavier Guimard
d0bd437191 Fix some test problems with pdata (#1461) 2018-07-05 17:39:44 +02:00
Xavier Guimard
890ea8aa27 Remember path in issuer requests (#1461) 2018-07-05 15:54:41 +02:00
Xavier Guimard
e0b2797e70 In progress but federation proxy is broken (#1461) 2018-07-05 14:24:22 +02:00
Xavier Guimard
7ce1bd2d08 Trying to use pdata for issuers (#1461) 2018-07-04 22:54:09 +02:00
Xavier Guimard
55cd51f27f Clean $req->pdata when authentication succeeds (#1461) 2018-07-04 17:23:57 +02:00
Xavier Guimard
854cf7be77 Set pdata cookie only if needed (#1461) 2018-07-04 17:23:17 +02:00
Xavier Guimard
8de024ddb6 Prepare cookie storage for #1461 2018-07-04 13:33:20 +02:00
Clément OUDOT
338b958709 Auto select SAML IDP if only one defined (#1465) 2018-07-02 11:45:26 +02:00
Xavier Guimard
8a56d31a32 Update doc (#1468) 2018-06-30 08:41:45 +02:00
Xavier Guimard
b6154f1ba4 Add ssoMatch sub for OIDC (#1468) 2018-06-30 08:21:48 +02:00
Xavier Guimard
1cd5a706c9 Avoid session conflict between Issuer and Auth OIDC (#1468) 2018-06-30 07:51:22 +02:00
Xavier Guimard
a5cc73a54c Avoid session conflict between Issuer and Auth CAS (#1468) 2018-06-30 07:44:05 +02:00
Clément OUDOT
ece95d3da2 IDP choice template (#1465) 2018-06-29 17:51:39 +02:00
Xavier Guimard
33712dcf13 Set ignore system for issuers (#1468) 2018-06-29 14:31:43 +02:00
Xavier Guimard
e6ad687618 Change session key names between Auth and Issuer (SAML #1468) 2018-06-29 06:50:31 +02:00
Xavier Guimard
9ea5668232 #1468 in progress 2018-06-28 06:48:58 +02:00
Xavier Guimard
c814abaafe Some errors in CAS (#1461) 2018-06-26 22:01:56 +02:00
Xavier Guimard
28aedcd63c Some errors in CAS (#1461) 2018-06-26 21:45:55 +02:00
Xavier Guimard
8596b339e8 Use build_urlencoded everywhere (#1461) 2018-06-26 19:13:06 +02:00
Xavier Guimard
97129a8ea3 Some comments (#595) 2018-06-26 12:08:51 +02:00
Xavier Guimard
9f890f6be9 Spelling errors 2018-06-25 23:17:51 +02:00
Xavier Guimard
ff6275f80f Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-06-25 22:45:15 +02:00
Xavier Guimard
abd9d876d5 Optimizations (#1461) 2018-06-25 22:45:00 +02:00
Clément OUDOT
3ba56c41b5 Manage CAS gateway mode (#1425) 2018-06-25 10:10:22 +02:00
Xavier Guimard
2634d4e0dd More comments (#595) 2018-06-25 07:07:13 +02:00
Clément OUDOT
808922a388 Store CAS app in ENV (#1161) 2018-06-23 10:18:55 +02:00
Clément OUDOT
afab4bb71c Force utf8 conversion for Facebook datas (#1322) 2018-06-23 08:32:55 +02:00
Xavier Guimard
ea551610f5 Avoid failure with SOAP sessions (#1431) 2018-06-23 07:23:16 +02:00
Christophe Maudoux
c24cf2b631 Fix mistake (#1431) 2018-06-22 19:40:18 +02:00
Clément OUDOT
8a4adfd384 Configure Facebook user field (#1322) 2018-06-22 18:16:24 +02:00
Clément OUDOT
7eb24abe3c Configure Twitter user field (#1322) 2018-06-22 17:44:41 +02:00
Xavier Guimard
50eaf5b507 Bad rewrite from 1.9 to 2.0 (#1327 #595) 2018-06-22 13:11:38 +02:00
Xavier Guimard
524cd2eb05 Catch also SLO urls (#1449) 2018-06-22 13:08:18 +02:00
Xavier Guimard
4ebcae3e15 Tidy 2018-06-21 21:35:16 +02:00
Xavier Guimard
5129647d04 Don't add RP if already connected (#1431) 2018-06-21 17:43:36 +02:00
Xavier Guimard
fa161b7b81 Bad array usage (#1431) 2018-06-21 17:22:58 +02:00
Xavier Guimard
79ff4e5e1e Improve regexp (#1431) 2018-06-21 17:15:53 +02:00
Xavier Guimard
2d6156b827 Fix #1460 2018-06-21 17:09:22 +02:00
Xavier Guimard
95e76061cd Add debug for strange behavior (#1342) 2018-06-21 13:58:42 +02:00
Xavier Guimard
8a0f7777dc Bad route declaration (#1431) 2018-06-21 13:52:18 +02:00
Clément OUDOT
3168f7eb41 Workaround for server error (#1342) 2018-06-21 12:01:30 +02:00
Xavier Guimard
4087038c64 Bad management of entry point in choice (#1342) 2018-06-20 22:29:48 +02:00
Xavier Guimard
ff0c8029db Change oidc content key for removal (#1431) 2018-06-20 21:38:26 +02:00
Clément OUDOT
234a1840c5 Improve OIDC consents screen (#1431) 2018-06-19 20:04:04 +02:00
Clément OUDOT
9dfe054e64 Fix CAS proxy code (#1224) 2018-06-19 16:47:09 +02:00
Xavier Guimard
21f588153e Fix #1342 2018-06-18 23:19:33 +02:00
Xavier Guimard
cea0f32801 #1342 in progress 2018-06-18 22:37:28 +02:00
Christophe Maudoux
4fc9b13535 Add oidc icon and modify modules display order 2018-06-16 22:36:04 +02:00
Christophe Maudoux
7d780ef3c8 Fix mistake (#1431) 2018-06-16 21:05:21 +02:00
Christophe Maudoux
125259e81f Set default displayName value (#1431) 2018-06-16 20:58:51 +02:00
Christophe Maudoux
f7cc28c1e1 Fix oidcConsents display (#1431)
May be broken by perltidy
2018-06-16 19:54:57 +02:00
Xavier Guimard
af42ed9306 Backtrace for #1454 2018-06-15 06:32:43 +02:00
Xavier Guimard
d5d74b93e4 Optimize conf check (#595) 2018-06-14 22:30:22 +02:00
Clément OUDOT
effacef11d Load the correct CAS server list (#1453) 2018-06-14 11:52:15 +02:00
Xavier Guimard
213f674b9e Return psession directly on error (#1452) 2018-06-13 22:17:28 +02:00
Xavier Guimard
784304702b Useless arg (#1162) 2018-06-13 21:34:27 +02:00
Xavier Guimard
f5b3617ad9 Typo errors (#1162) 2018-06-13 21:18:15 +02:00
Christophe Maudoux
49ce9cdb0f Display login history when UTOTP is required (#1442) 2018-06-13 14:48:21 +02:00
Clément OUDOT
85e1983b90 Fix URL construction in CAS client (#1451) 2018-06-13 12:23:03 +02:00
Clément OUDOT
0c8ab9a5f6 Apply patch to other location (#1449) 2018-06-13 10:50:57 +02:00
Clément OUDOT
dc978f5cc2 Remove bak file (#1449) 2018-06-13 10:37:01 +02:00
Clément OUDOT
ee7cf94a95 Fix debug message for artifact endpoint (#1449) 2018-06-13 10:34:23 +02:00
Xavier Guimard
2f008fc490 Fix bad usage of constants (#1449) 2018-06-13 06:34:08 +02:00
Christophe Maudoux
ba17ea84c4 Display login history when 2F is required (#1442) 2018-06-12 22:56:25 +02:00
Christophe Maudoux
d16918770e WIP - Propage display logins history to ext and REST 2F (#1442) 2018-06-12 22:49:49 +02:00
Christophe Maudoux
1cffd4fc02 WIP - Display logins history when Yubikey is required (#1442) 2018-06-12 22:45:55 +02:00
Christophe Maudoux
8028aeff58 WIP - Display logins history when TOTP is required (#1442) 2018-06-12 22:14:36 +02:00
Christophe Maudoux
9fa1eb0a54 Modify debug info (#1442) 2018-06-12 22:12:51 +02:00
Christophe Maudoux
0acc566cfc Add debug info (#1442) 2018-06-12 22:11:51 +02:00
Xavier Guimard
7c105e2db6 Fix status for Apache (closes: #1448) 2018-06-12 21:00:10 +02:00
Clément OUDOT
28c4429b75 Configuration for SAML signature method (#1247) 2018-06-12 18:22:21 +02:00
Xavier Guimard
1a2a109025 More debug info (#1449) 2018-06-12 17:56:42 +02:00
Xavier Guimard
0769967407 Fix little warning (#1148) 2018-06-12 17:56:19 +02:00
Christophe Maudoux
fc233b71ba Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-06-12 12:34:58 +02:00
Christophe Maudoux
5a7d1b0041 WIP - Logins history not displayed when U2F is required (#1442) 2018-06-12 12:27:10 +02:00
Christophe Maudoux
506aba052c Fix typo 2018-06-12 12:23:35 +02:00
Xavier Guimard
33e20b55f5 Prepare UDP out for status (#1448) 2018-06-12 12:17:17 +02:00
Xavier Guimard
1a9ec21d00 Use IO::Handle methods (#1148) 2018-06-12 11:45:21 +02:00
Xavier Guimard
79638ec81b afterDatas was not called in 2F (#1148) 2018-06-12 08:38:17 +02:00
Xavier Guimard
019f1e75e8 Uniq status daemon for Nginx (#595)
NB: not uniq for Apache for now
2018-06-11 22:11:18 +02:00
Xavier Guimard
492296c226 Fix CDA for already authenticated users (Closes: #1446) 2018-06-11 14:03:09 +02:00
Xavier Guimard
772a69d90e Missing error catch (#595) 2018-06-06 21:05:43 +02:00
Xavier Guimard
7f7d068646 Don't reload portal if conf is already loaded 2018-06-05 23:13:18 +02:00
Xavier Guimard
b321349893 Don't filter special sessions (#1440) 2018-06-05 20:52:55 +02:00
Xavier Guimard
f7f42fac2b Fix another issue in CDA (#1440) 2018-06-04 10:59:18 +02:00
Xavier Guimard
0485c4aa06 Typo (#1440) 2018-06-04 10:09:18 +02:00
Xavier Guimard
720d3a3590 Typo (#1440) 2018-06-04 06:20:42 +02:00
Clément OUDOT
3898db68a7 Provide kid in JWT only for RS signatures (#1426) 2018-05-19 16:29:05 +02:00
Xavier Guimard
f042af3ab0 Optimize URL escape calls (#595) 2018-05-18 16:40:01 +02:00
Xavier Guimard
dfcd8486d2 Optimize URL escape calls (#595) 2018-05-18 16:34:59 +02:00
Xavier Guimard
887695c254 Use Lemonldap::NG::Common::FormEncode (#1243)
@clem_oudot: could you check this ?
2018-05-18 13:41:29 +02:00
Xavier Guimard
8f13be1b0d Authorize auth user to test it (#1400) 2018-05-17 06:31:26 +02:00
Xavier Guimard
5f31ce63c7 Fix last error (#1422) 2018-05-16 13:22:15 +02:00
Xavier Guimard
be4b0701d2 Missing declaration (#1422) 2018-05-16 11:06:25 +02:00
Xavier Guimard
a994024cf7 Add skipRenewConfirmation parameter (#1422) 2018-05-16 10:45:41 +02:00
Xavier Guimard
18fbdf116b Typo 2018-05-15 22:06:51 +02:00
Xavier Guimard
662ef787c3 Don't build cookie here (#1400) 2018-05-15 22:05:23 +02:00
Xavier Guimard
e40d8ccc1e CheckState plugin (fixes: #1400) 2018-05-15 21:20:31 +02:00
Xavier Guimard
86283952b0 Fix partially #1422 2018-05-15 19:46:02 +02:00
Xavier Guimard
0849df9da0 Avoid little warning (#595) 2018-05-14 21:52:52 +02:00
Xavier Guimard
b0d16d653d Fix renew problem with CAS (fixes: #1422) 2018-05-14 21:33:21 +02:00
Clément OUDOT
bd33897a52 Fix multi values separator (#1420) 2018-05-14 12:21:17 +02:00
Clément OUDOT
a27ef657b7 Rewrite code for CAS proxy (#1420) 2018-05-14 12:15:26 +02:00
Clément OUDOT
0669303baf Display CAS responses in debug logs (#1420) 2018-05-11 21:58:59 +02:00
Christophe Maudoux
6293e1c93b Fix TOTP delete authorization bug 2018-05-07 22:49:39 +02:00
Christophe Maudoux
9307fcdbf1 Merge branch 'master' into llng-2.0-improvements 2018-05-07 19:29:59 +02:00
Christophe Maudoux
3afe82fe30 Modify redirect rule #1417 2018-05-07 17:37:51 +02:00
Xavier Guimard
273e84b342 Clean some Dumper usage (#1416) 2018-05-07 17:17:55 +02:00
Christophe Maudoux
388bd387cf Replace regex by display2fRegisters method 2018-05-01 22:05:06 +02:00
Christophe Maudoux
ed1229800a Display 2fregisters link only if at least a 2f device is registered (#1383) 2018-04-30 23:10:47 +02:00
Xavier Guimard
c673be7cf2 Set some default values in Attributes.pm (#595) 2018-04-30 18:06:15 +02:00
Christophe Maudoux
d1a1dad442 Update pod 2018-04-29 22:02:26 +02:00
Xavier Guimard
57715c8b69 Fix #1413 2018-04-28 09:09:34 +02:00
Xavier Guimard
564b34176b Fix rule if 0 (#1413) 2018-04-27 20:10:31 +02:00
Clément OUDOT
90dc78932e Fix error on undefined object method (#1413) 2018-04-27 15:57:07 +02:00
Xavier Guimard
baf0b90b68 Fix name error in rule (#1413) 2018-04-27 13:54:06 +02:00
Xavier Guimard
0283231dd9 Typo 2018-04-26 12:05:11 +02:00
Xavier Guimard
6557b2105a Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-04-26 12:01:54 +02:00
Xavier Guimard
6f87ae5078 Debug hook (#1413) 2018-04-26 12:01:40 +02:00
Clément OUDOT
d3db202488 forcedSAML is no more a Choice (#1256) 2018-04-26 11:44:03 +02:00
Xavier Guimard
023be4c4eb Bad object (#1413) 2018-04-26 07:46:49 +02:00
Xavier Guimard
6605ea1857 Eval() in init() (#1413) 2018-04-26 07:38:17 +02:00
Clément OUDOT
2d388c174a Condition on Choice tab (#1413) 2018-04-25 15:40:19 +02:00
Christophe Maudoux
98ff9bbc93 Typo (#1386) 2018-04-20 16:35:50 +02:00
Christophe Maudoux
6312ae367f Typo (#1386) 2018-04-20 16:35:38 +02:00
Christophe Maudoux
6ab28b03b0 Propage multi U2F verification (#1386) 2018-04-20 16:15:26 +02:00
Xavier Guimard
904947b43b Propage @maudoux changes to UTOTP (#1391) 2018-04-17 23:01:34 +02:00
Christophe Maudoux
f7f0255a86 Merge branch 'master' into portal-multi-U2F-registration 2018-04-17 22:01:25 +02:00
Christophe Maudoux
5420cb2abb Typo 2018-04-17 21:48:16 +02:00
Christophe Maudoux
bb97e804d2 Typo 2018-04-17 21:36:34 +02:00
Christophe Maudoux
b1dc72452a Multi U2F - Fix errors ;-) - IT WORKS !!! 2018-04-17 20:05:45 +02:00
Christophe Maudoux
06c14f5972 Security: avoid challenge replay (#1148) 2018-04-17 19:09:23 +02:00
Christophe Maudoux
9a96b38435 Apply U2F.patch 2018-04-17 18:09:18 +02:00
Xavier Guimard
797fa5b5c3 Security: avoid challenge replay (#1148) 2018-04-17 17:27:49 +02:00
Xavier Guimard
492ae116f8 Missing debug (#1148) 2018-04-17 12:06:09 +02:00
Christophe Maudoux
944682dbb5 Multi U2F - WIP 2018-04-14 21:09:08 +02:00