Commit Graph

5009 Commits

Author SHA1 Message Date
Maxime Besson 55d46a1731 Make _2f variable available in login history in case of failure (#2726) 2022-08-09 14:23:35 +02:00
David Coutadeur a99dbbe998 rememberAuthChoice: resolve conflicts with 2.0 branch (#2737) 2022-07-29 13:18:05 +00:00
Yadd a8254dec1c Update versions 2022-07-28 12:42:15 +02:00
Maxime Besson 85888a9986 Unit test for #2615 2022-07-21 16:04:16 +02:00
Maxime Besson 67ee7b21ba Fix Kerberos session upgrade/renew (#2615) 2022-07-21 16:04:16 +02:00
Yadd 4104e5a933 Update tr translation from transifex 2022-07-20 23:30:37 +02:00
Christophe Maudoux 6b4c7d5272 Append unit test (#2775) 2022-07-19 20:02:22 +02:00
Christophe Maudoux df6727ffbd Return ciphered id in JSON response if notif is pending 2022-07-18 23:36:22 +02:00
Christophe Maudoux e05b51c9aa Perl critic 2022-07-18 23:35:37 +02:00
Maxime Besson 6e7fd58113 Include extra keys in oidcGenerateUserInfoResponse (#2725) 2022-07-18 17:59:18 +02:00
Yadd 569f38fc92 Update fi translation 2022-07-16 07:59:37 +02:00
Yadd 3e1655f2b8 languages 2022-07-14 07:23:11 +02:00
Maxime Besson fef3f2e1db Merge branch 'fix-test-call-stack' into 'v2.0'
Correctly report the calling location in test functions

See merge request lemonldap-ng/lemonldap-ng!278
2022-07-12 14:43:10 +00:00
Maxime Besson 5a47d7e9bc Correctly report the calling location in test functions
With this change, failure in a test lib function (expectForm,
expectJWT...) will be reported at the calling location in the original
*.t test file, instead of being reported in the test lib

    t/30-SAML-ReAuth-with-choice.t .. 1/?
    #   Failed test ' URI match'
>>> #   at t/30-SAML-ReAuth-with-choice.t line 72.
2022-07-12 16:14:56 +02:00
Maxime Besson e41f55bcb6 Merge branch '2746-SAML-metadata-without-SingleLogoutService' into 'v2.0'
#2746 do not proceed to logout if no logoutService is defined into SAML MD

See merge request lemonldap-ng/lemonldap-ng!272
2022-07-12 08:41:20 +00:00
Maxime Besson a62abf7bc3 update manifest 2022-07-11 09:23:26 +02:00
Maxime Besson 0ddabc96f6 Use azp instead of aud (#2607) 2022-07-11 09:18:01 +02:00
alc a707cc13a5 Test checking post logout redirect failure when URI is not allowed 2022-07-08 17:10:38 +02:00
alc 47866fba35 #2607 Adding test about OIDC OP logout confirmation bypass when initiated by RP 2022-07-08 16:44:35 +02:00
alc 8ae0ebb9db #2607 Adding the possibility to bypass logout confirm when initiated by RP 2022-07-08 16:44:27 +02:00
Maxime Besson fb2da6634a unit test for #2690 2022-07-07 12:05:54 +02:00
Clément OUDOT 4896e5de64 Override logo and label in 2fregisters template (#2690) 2022-07-06 19:55:28 +02:00
Christophe Maudoux 0576212979 Append extended conversion functions compliant with jail (#2624) 2022-06-30 23:14:16 +02:00
Christophe Maudoux 0831143a6b Append debug log 2022-06-27 22:45:21 +02:00
Maxime Besson 7c5bbfd563 Unit test for #2713 2022-06-27 11:23:49 +02:00
Maxime Besson 96ef83893d Update oidc tokens during sessions refresh (#2713) 2022-06-27 11:23:49 +02:00
Maxime Besson f8d1d0fc5f OIDC: make getUser optionally use Refresh Tokens (#2713) 2022-06-27 11:23:49 +02:00
Maxime Besson b3b29508d3 Store refresh token and AT expiration (#2713) 2022-06-27 11:23:49 +02:00
Maxime Besson 4b9f788bf9 Unit tests for #2762 2022-06-27 11:06:07 +02:00
Maxime Besson 181f8c4be1 Update mail2f to use code2f lib (#2762) 2022-06-27 11:06:07 +02:00
Maxime Besson 20d994ccac Update REST2F to use Code2F lib (#2762) 2022-06-27 11:06:07 +02:00
Maxime Besson ee05bb5c8a Split Ext2F into a common lib (Code2F) + specific code (#2762) 2022-06-27 11:06:07 +02:00
Maxime Besson 68a80daae4 Translations for #2762 2022-06-27 11:06:07 +02:00
Maxime Besson 5d80b47570 Update templates for #2762 2022-06-27 11:06:07 +02:00
Maxime Besson 31db698df0 Update Ext2F to support resend code (#2762) 2022-06-27 11:06:07 +02:00
alc 6433a0e75b #2746 do not proceed to logout if no logoutService is defined into SAML MD 2022-06-24 18:40:50 +02:00
Yadd 46d43e69d9 Use Perltidy 20220217 (Closes: #2765) 2022-06-23 12:12:25 +02:00
Christophe Maudoux c0803bc306 Update code 2022-06-20 00:18:37 +02:00
Christophe Maudoux aedda63b3e Remove double entry (#2749) 2022-06-19 23:26:16 +02:00
Maxime Besson 4e29b8e61a Run forAuthUser when serving /ping 2022-06-19 15:24:59 +02:00
Maxime Besson 87a91f222f Remove dead code in Issuer::OIDC 2022-06-19 15:24:59 +02:00
Maxime Besson 3ef3aac9c7 Refactor newAccessToken 2022-06-19 15:24:59 +02:00
Maxime Besson 818143311c Refactor call to token endpoint 2022-06-19 15:24:59 +02:00
Maxime Besson d3cb90a1cd Unit test for refresh token hooks (#2768) 2022-06-19 12:02:31 +02:00
Maxime Besson a868f2696f Add refresh token hooks (#2768) 2022-06-19 12:02:31 +02:00
Christophe Maudoux a9941e043f Append an option to customize Manager CSS (#2761) 2022-06-18 18:53:57 +02:00
Christophe Maudoux fbb2013e6b Code refactoring 2022-06-18 18:53:57 +02:00
Christophe Maudoux 7ad7ce8bac Pass encryption key to custom functions + Update doc 2022-06-18 18:53:57 +02:00
Christophe Maudoux 2f1d2a5e3b Code refactoring (#2749) 2022-06-18 18:53:57 +02:00
Yadd cc3f433136 Import polish translations from transifex 2022-06-18 07:44:40 +02:00
Maxime Besson 67ebefd137 Document new Captcha API (#2692) 2022-06-17 16:19:29 +02:00
Maxime Besson aca5468100 Add unit test for old Captcha API (#2692) 2022-06-17 15:38:05 +02:00
Maxime Besson 7817a1b544 Update templates for new Captcha API (#2692) 2022-06-17 15:38:05 +02:00
Maxime Besson aef1ebc348 Fix unit tests for new Captcha API (#2692)
New API does not differentiate between empty and wrong captcha
2022-06-17 15:38:05 +02:00
Maxime Besson c6931ccb54 Update Portal plugins to new Captcha API (#2692) 2022-06-17 15:38:05 +02:00
Maxime Besson ef134f8ce1 Implement new Captcha API in portal (#2692) 2022-06-17 15:38:05 +02:00
Maxime Besson fc626c752a Split SecurityImage Captcha into a dedicated module (#2692)
Lib::Captcha is now only a compatibility wrapper
2022-06-17 15:38:05 +02:00
Maxime Besson 9674510863 add mfaDeleted event (#2756) 2022-06-16 16:32:14 +02:00
Maxime Besson 0a1783f165 add mfaAdded js event (#2756) 2022-06-16 16:32:14 +02:00
Maxime Besson cd41ba8872 Merge branch 'fix-2fa-timeout-2757' into 'v2.0'
Add specific 2FA timeout (#2757)

See merge request lemonldap-ng/lemonldap-ng!269
2022-06-16 12:33:19 +00:00
Maxime Besson fd8c3b1b61 Fix #2708 2022-06-14 14:48:46 +02:00
Christophe Maudoux 651beaf130 Improve code 2022-06-03 19:27:06 +02:00
Maxime Besson 3f783f4805 Unit test for #2760 2022-06-03 17:42:29 +02:00
Maxime Besson e27f0b6b10 Fix #2760 2022-06-03 17:42:29 +02:00
Maxime Besson 095f69cd49 Unit test for #2757 2022-06-03 15:35:21 +02:00
Maxime Besson 828fb10389 Default 2FA token to sfLoginTimeout (#2757) 2022-06-03 15:35:21 +02:00
Maxime Besson a23db69545 Add sfLoginTimeout option in manager (#2757) 2022-06-03 15:35:19 +02:00
Christophe Maudoux d80d66e07a Update unit test (#2759) 2022-06-03 09:31:24 +02:00
Christophe Maudoux f0d102a6bb Fix debug log 2022-06-02 23:39:18 +02:00
Christophe Maudoux 78bd430057 Append go-to-top button & Doc (#2759) 2022-06-02 23:39:00 +02:00
Maxime Besson d7ed5c9e35 Relax detection of client authentication type (#2757) 2022-05-25 15:32:32 +02:00
Clément OUDOT 3a82e3af7b Merge branch 'feature/v2.0/support-ldap-uris' into 'v2.0'
Support TLS parameters for ldaps URIs

See merge request lemonldap-ng/lemonldap-ng!256
2022-05-23 08:52:01 +00:00
Eero Häkkinen 91bf5323a5 Support TLS parameters for ldaps URIs 2022-05-20 21:53:06 +03:00
Maxime Besson d832263129 Merge branch 'fix-refactor-2f-mini' into 'v2.0'
Refactor WebAuthn to share some functions with other 2F plugins

See merge request lemonldap-ng/lemonldap-ng!266
2022-05-20 07:50:09 +00:00
Christophe Maudoux 82c10e3ecd Typos (#2753) 2022-05-19 23:20:32 +02:00
Maxime Besson 4edd5332bb Unit test for #2753 2022-05-18 11:35:02 +02:00
Maxime Besson 5e210651aa Add CAS server resolution rules (#2753) 2022-05-18 11:32:04 +02:00
Maxime Besson 3428cb981f Add OP resolution rules (#2753) 2022-05-18 11:32:04 +02:00
Clément OUDOT 3fe037c226 Better look for remember timer box 2022-05-17 15:32:07 +02:00
David Coutadeur ed03ce6a8e rememberAuthChoice: resolve conflicts with 2.0 branch (#2737) 2022-05-17 09:57:45 +00:00
Christophe Maudoux 17328aa2aa Append favicon option (#2750) 2022-05-16 22:32:11 +02:00
Christophe Maudoux 91a5aabf0b Merge branch '2745' into 'v2.0'
Use portalEnablePasswordDisplay option in password change/reset forms

See merge request lemonldap-ng/lemonldap-ng!265
2022-05-16 17:21:37 +00:00
David Coutadeur ee2e042fc0 rememberAuthChoice: fix timer to really launch authent at 0 (#2737) 2022-05-16 15:36:34 +00:00
David Coutadeur dfe8aebf33 rememberAuthChoice: hide rememberAuthChoice checkbox when timer is active (#2737) 2022-05-16 15:09:26 +00:00
Clément OUDOT 3b0a928ba6 Fix some typos in embedded doc 2022-05-16 13:38:52 +00:00
Maxime Besson c85ade2e27 perldoc for 2fDevices lib 2022-05-16 14:21:53 +02:00
Maxime Besson 0f6753d188 Refactor Webauthn 2022-05-16 14:21:53 +02:00
Maxime Besson 21745359a2 Fix #2716 2022-05-16 14:21:53 +02:00
Maxime Besson cc5435015d Extract 2F common functions into lib 2022-05-16 14:21:53 +02:00
Christophe Maudoux 1976e3e44b Use standard HTML attribute + update unit tests (#2745) 2022-05-16 13:38:23 +02:00
David Coutadeur 8f4eb83a2e rememberAuthChoice: reconciliation with v2.0 branch (#2737) 2022-05-16 10:06:23 +00:00
David Coutadeur fe6a762f1f rememberAuthChoice: fix default values + prepare reconciliation with v2.0 (#2737) 2022-05-16 10:02:15 +00:00
Christophe Maudoux 5a29ce8ffe Update unit tests 2022-05-16 00:09:27 +02:00
Christophe Maudoux 2ea240c25c Improve template 2022-05-15 23:58:24 +02:00
Christophe Maudoux f59d245ff4 Clean code (#2746) 2022-05-15 23:41:29 +02:00
Christophe Maudoux 52bfd9f2c8 Improve unit test (#2745) 2022-05-15 23:41:23 +02:00
Christophe Maudoux a3c64ff3d7 Update unit test (#2745) 2022-05-15 12:08:30 +02:00
Christophe Maudoux e522ccb29e Propagate do not store password option to mail template (#2745) 2022-05-15 12:04:45 +02:00
Christophe Maudoux c3b58f78fd Fix coffee class toggle (#2745) 2022-05-15 12:03:57 +02:00
Christophe Maudoux 82d3d26eb5 Use option for mail reset (#2745) 2022-05-15 00:59:40 +02:00