Commit Graph

48 Commits

Author SHA1 Message Date
Maxime Besson
7c5bbfd563 Unit test for #2713 2022-06-27 11:23:49 +02:00
Yadd
46d43e69d9 Use Perltidy 20220217 (Closes: #2765) 2022-06-23 12:12:25 +02:00
Maxime Besson
bfd8e382c4 Fix unit test for #2730 2022-03-18 13:00:39 +01:00
Maxime Besson
fefc81d5fa Unit tests for OIDC auth hooks (#2730) 2022-03-18 11:59:10 +01:00
Yadd
b88a72c267 tidy 2022-02-16 17:43:29 +01:00
Maxime Besson
128ab23246 Improve unit test to check that RP rule is working 2021-09-01 17:32:15 +02:00
Maxime Besson
ee51e010dc Unit test for #2548 2021-06-21 09:38:03 +02:00
Maxime Besson
420fc72d63 Remove useless vars from OIDC tests 2021-02-01 18:20:32 +01:00
Xavier Guimard
4459a47f76 Tidy 2020-02-20 23:37:05 +01:00
Maxime Besson
8a77fde3f0 deduplicate oidc keys from portal tests 2020-02-05 22:48:20 +01:00
Maxime Besson
7d1f35f6df Refactor switch() in portal tests 2020-02-05 19:20:39 +01:00
Maxime Besson
006cb00f8c Update unit tests for #1882 2019-12-17 11:10:47 +01:00
Maxime Besson
2639c482b1 Fix cookie removal on SAML logout (#2001)
Since the fixes for #1863, calling p->do consumes the response headers
set by any previous code. So we must only call do() in a return statement.
2019-11-06 18:44:10 +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
Maxime Besson
30a16ada2d new expectJSON function in test-lib 2019-10-25 18:06:32 +02:00
Maxime Besson
4afecb4620 Remove IDP cookie (#1941) 2019-10-17 23:09:03 +02:00
Xavier Guimard
c1137edba8 make tidy with perltidy-20181120 2019-07-02 20:03:40 +02:00
Clément OUDOT
7c7dad9ab6 Enforce ID token signature verification in unit test (#1835) 2019-07-02 17:27:17 +02:00
dcoutadeur
ba9dc8863f add test to fix 'id_token validity not correctly evaluated' #1662 2019-02-28 10:37:51 +01:00
Xavier Guimard
c7b4eb5051 tidy with new conf 2019-02-07 09:27:56 +01:00
Xavier Guimard
841c5ba504 Improve Debian autopkgtest tests 2018-09-05 22:24:23 +02:00
Xavier Guimard
62d5c7836c make tidy 2018-09-02 17:31:58 +02:00
Christophe Maudoux
eae8326331 Disable unit test 95 to pass test (#1464) 2018-07-19 23:39:58 +02:00
Xavier Guimard
4ebcae3e15 Tidy 2018-06-21 21:35:16 +02:00
Xavier Guimard
7f7d068646 Don't reload portal if conf is already loaded 2018-06-05 23:13:18 +02:00
Xavier Guimard
80ed8580f2 Update tests (#1416) 2018-05-07 18:01:52 +02:00
Xavier Guimard
71e6fa7008 Add more UTF-8 tests (#1416) 2018-05-05 21:17:54 +02:00
Xavier Guimard
89e818d407 Use inc::LWP::Protocol::PSGI in tests instead of redefining LWP::UserAgent methods (#595) 2018-04-09 22:56:14 +02:00
Xavier Guimard
a09af34412 Missing $req in updatePersistentSession calls (fixes: #1319) 2017-10-31 12:04:05 +00:00
Xavier Guimard
dd51dbd1ed Clean test conf #1323 2017-10-30 21:59:43 +00:00
Xavier Guimard
012cb3c23e May fix #1236 2017-06-12 19:10:37 +00:00
Clément Oudot
318d43e07f Check logout redirect URI (#1233) 2017-05-18 14:52:38 +00:00
Xavier Guimard
c761cc5781 Mark some properties "lazy" to be sure conf is intialized (#595) 2017-03-27 16:51:18 +00:00
Xavier Guimard
941ee0d6e1 Try logout with OIDC-RP-to-SAML-IdP proxy (#1113) 2017-03-21 10:29:21 +00:00
Xavier Guimard
6dba4fd1c2 Better request management in issuers (#595) 2017-03-21 06:23:58 +00:00
Xavier Guimard
f7b130e956 Proves SAML-SP => OIDC-OP (#1113) 2017-03-14 21:55:47 +00:00
Xavier Guimard
96263e0e65 Clean repo 2017-03-03 17:25:03 +00:00
Xavier Guimard
b31afabc5d Fix UTF for OIDC (#1118) 2017-03-02 20:52:12 +00:00
Xavier Guimard
820691df33 Start handler reorganization (#1160) 2017-02-08 22:18:52 +00:00
Xavier Guimard
7d27259e64 Create a "Same" value for userDB and remove some other 2017-02-05 09:13:20 +00:00
Xavier Guimard
81b47b7988 Declare PE_BADURL (#1142) 2017-01-24 21:02:06 +00:00
Xavier Guimard
a09c5a3d69 Typo (#1138) 2017-01-21 09:50:59 +00:00
Xavier Guimard
93e02e1400 Error in CSP (#1138) 2017-01-21 09:17:24 +00:00
Xavier Guimard
1491ad4515 Disable CSP for frames (#1138) 2017-01-20 06:19:54 +00:00
Xavier Guimard
e6c457bf97 Repair test (#1138) 2017-01-19 22:23:14 +00:00
Xavier Guimard
b94a337a05 Optimize checksession endpoint (#595) 2017-01-04 22:19:17 +00:00
Xavier Guimard
90352f5193 More OIDC tests (#595) 2017-01-03 20:18:05 +00:00
Xavier Guimard
f374a6c38d Rename OIDC test (#595) 2017-01-03 12:54:23 +00:00