Commit Graph

1517 Commits

Author SHA1 Message Date
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
Christophe Maudoux
9f6e9e2dd4 Minor improvement & update lang (#1386) 2018-04-12 22:05:36 +02:00
Christophe Maudoux
6e25fa13bd Typo 2018-04-12 17:36:53 +02:00
Christophe Maudoux
51c6c97b03 Catch JSON errors (#1386) 2018-04-12 14:20:28 +02:00
Christophe Maudoux
0987f65804 Rollback 2018-04-11 23:31:57 +02:00
Christophe Maudoux
b5e61fab2e Fix compilation warnings due to undef variable & typo (#1386) 2018-04-11 23:14:58 +02:00
Xavier Guimard
3998054823 Catch JSON errors (#1386) 2018-04-11 09:54:40 +02:00
Christophe Maudoux
87a583dd51 Typo (#1386) 2018-04-10 16:15:14 +02:00
Christophe Maudoux
dae160c5e1 Merge branch 'master' into portal-multi-U2F-registration 2018-04-10 13:06:12 +02:00
Christophe Maudoux
c291cfced9 Enabled new 2F engine (#1386) 2018-04-10 11:06:06 +02:00
Xavier Guimard
e8e1cdf74f Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-04-10 08:48:12 +02:00
Xavier Guimard
d01a453f4e Avoid little warning (#595) 2018-04-09 22:33:59 +02:00
Christophe Maudoux
1bc83a242d New TOTP register engine - WIP 2018-04-09 17:25:22 +02:00
Xavier Guimard
8e81d31bc1 Add Yubico debug (#1148)
Available with Crypt::U2F::Server >= 0.43
2018-04-09 14:31:15 +02:00
Christophe Maudoux
59edb9fd56 Remove old 2F conf. parameter 2018-04-08 22:45:28 +02:00
Christophe Maudoux
9430bbae96 Modify 2F activation rules (#1386) 2018-04-08 22:09:16 +02:00
Christophe Maudoux
29834abbe0 Fix typo (#1386) 2018-04-07 13:22:06 +02:00
Christophe Maudoux
6a4c776367 Fix typo (#1386) 2018-04-06 16:38:07 +02:00
Christophe Maudoux
50970d8993 Use new Yubikey engine - WIP (#1386) 2018-04-06 00:10:41 +02:00
Christophe Maudoux
5bd5920b0f Truncate 2F device name (#1386) 2018-04-05 19:43:06 +02:00
Christophe Maudoux
e2effb46a1 Check if user can register one more device (#1386) 2018-04-05 19:08:29 +02:00
Christophe Maudoux
2134bfd366 Check if user can register one more device - WIP (#1386) 2018-04-05 17:58:42 +02:00
Christophe Maudoux
a3ba56aa12 Verify if max 2F devices is not reached (#1386) 2018-04-04 23:50:33 +02:00
Christophe Maudoux
ff9ef7aab3 Typo 2018-04-04 23:16:36 +02:00
Christophe Maudoux
3db93c49fe Modify $list2FDevices to $_2FDevices conf. entry (#1386) 2018-04-04 23:05:27 +02:00
Christophe Maudoux
612e2e37d1 Merge branch 'master' into portal-multi-U2F-registration 2018-04-03 23:04:16 +02:00
Christophe Maudoux
ee380f1f6b Typo 2018-04-03 23:03:29 +02:00
Clément OUDOT
a83c3f738e Fix date in register message (#1404) 2018-04-03 22:59:57 +02:00
Christophe Maudoux
ce08e5c899 Set default name and verify if user is authorized to unregister 2F (#1386) 2018-04-03 21:17:15 +02:00
Christophe Maudoux
40b69bb63f Merge branch 'master' into portal-multi-U2F-registration 2018-04-03 19:04:54 +02:00
Christophe Maudoux
6718cd304c Add epoch as default keyname if empty (#1386 2018-04-03 17:15:38 +02:00
Xavier Guimard
0623b4f9fe Add ini-only default values in DefaultValues.pm (#595) 2018-04-03 10:23:31 +02:00
Christophe Maudoux
0637601d8b Add delete function to TOTP & Yubikey - TODO : Verify if user is authorized to delete (#1386) 2018-04-03 00:01:01 +02:00
Christophe Maudoux
6cfdc20d42 Delete U2F key (#1386) 2018-04-02 23:19:56 +02:00
Christophe Maudoux
79674979c1 #1386 - Fix translation 2018-04-01 16:39:02 +02:00
Christophe Maudoux
0e84c1da3e #1386 - Add translation 2018-04-01 12:53:16 +02:00
Christophe Maudoux
b5fd14886d #1386 - Add tmpl loop and prevent that same key can be registered twice 2018-03-31 00:16:36 +02:00
Christophe Maudoux
53752276e4 #1386 - Fix warnings 2018-03-30 21:24:34 +02:00
Christophe Maudoux
869166cb31 #1386 - Add to list2FDevice name & epoch hash keys 2018-03-29 23:11:46 +02:00
Christophe Maudoux
961aea971a #1386 - Store 2ndF devices in list2FDevices (array of json) 2018-03-29 21:27:35 +02:00
Xavier Guimard
f42763c1de Typo 2018-03-26 10:33:04 +02:00
Xavier Guimard
a018a10fb1 Fix Yubikey errors (#1399) 2018-03-26 10:15:37 +02:00
Xavier Guimard
57708a6b3e Add dysplay2fRegisters() (#1383) 2018-03-22 18:28:36 +01:00
Xavier Guimard
991b1b19b3 Rename private sub (#1383) 2018-03-22 17:23:48 +01:00
Xavier Guimard
3836391adc Fix history bugs (fixes: #1401) 2018-03-21 20:48:31 +01:00
Xavier Guimard
aaaf5cfed4 Restrict CSP form-action to URL scheme (#1384) 2018-03-21 14:52:22 +01:00
Xavier Guimard
e89db33b5e Remove Auth::Yubikey (#1399) 2018-03-20 18:45:57 +01:00
Xavier Guimard
c6908b87a2 Yubikey 2nd factor (closes: #1399) 2018-03-20 18:19:53 +01:00
Xavier Guimard
396fc2362b Missing verification (#595) 2018-03-20 11:03:57 +01:00
Xavier Guimard
99ce15626e Restore challenge in verification (#1148) 2018-03-19 22:35:39 +01:00
Xavier Guimard
1d02a9e443 Fix an error in REST2F (#1398) 2018-03-19 17:34:21 +01:00
Xavier Guimard
d88ef701a8 Fix post form target (#1398) 2018-03-19 17:21:50 +01:00
Xavier Guimard
ee736d0cba Just in case... (#1398) 2018-03-19 16:58:26 +01:00
Xavier Guimard
42d53cec63 Typo (#1148 #1359) 2018-03-18 22:55:28 +01:00
Xavier Guimard
c14289bd72 Update 2F doc (#1148 #1359) 2018-03-18 22:53:41 +01:00