Commit Graph

1345 Commits

Author SHA1 Message Date
Soisik Froger
bfacf29fd7 Manager API - Refactoring: common API module extended by providers sub modules oidcRP/samlSP. Added unit tests for oidcRP - #2034 2019-12-17 08:56:59 +00:00
Maxime Besson
bbef316754 Add manager UI for per-service macros (#2042) 2019-12-16 17:26:35 +01:00
Xavier
f62a366812 Merge branch 'v2.0' 2019-12-13 18:14:47 +01:00
Maxime Besson
eda33e647c Add a manager test for #2007 2019-12-13 14:10:25 +01:00
Xavier
947dd9a438 Merge branch 'v2.0'
TODO: Fix OIDC
2019-12-11 08:00:40 +01:00
Soisik Froger
edd262caf8 Manager API - Delete method for SAML SP and OIDC RAP - #2034 2019-12-09 19:32:54 +00:00
Soisik Froger
3061e748c3 Manager API - set default values for missing options attributes - #2034 2019-12-09 14:05:36 +00:00
Soisik Froger
b4c017852a Manager API - update and replace for oidcrp and samlsp #2034 2019-12-09 08:16:21 +00:00
Clément OUDOT
3697f2538e Merge branch 'v2.0' into configuration-api 2019-12-08 23:12:07 +01:00
Xavier
5bb6f2fd3b Refresh plugin (#2006) 2019-12-08 17:28:51 +01:00
Clément OUDOT
8f101361bc Custom plugins in Manager (#1590) 2019-12-07 21:30:56 +01:00
Soisik Froger
adc2b2ec1e Manager API - clean up logs #2034 2019-12-06 14:32:15 +00:00
Soisik Froger
35eea58515 Manager API - include display options in oidc rp options #2034 2019-12-06 14:30:40 +00:00
Soisik Froger
f8eb811f12 Manager API - clean up log #2034 2019-12-06 10:41:40 +00:00
Soisik Froger
2da104e45b Manager API - add new oidc rp or new saml sp #2034 2019-12-06 10:38:02 +00:00
Soisik Froger
f14ae6cd4b Manager API - fixed bug with exportedAttributes getting mixed up between saml sps #2034 2019-12-05 15:58:21 +00:00
Soisik Froger
67db0b6865 Manager API - find oidcrps by clientId or samlsps by entityId #2034 2019-12-05 14:59:53 +00:00
Soisik Froger
1359c81e4e Manager API - find oidcrps or samlsps by configKey #2034 2019-12-05 14:06:33 +00:00
Soisik Froger
e5a45f505b Manager API - get SAML sp #2034 2019-12-05 11:40:03 +00:00
Soisik Froger
cd93caef72 Manager API - get OIDC rp (options and extraclaims) #2034 2019-12-05 09:29:35 +00:00
Clément OUDOT
7a61750eb3 Start OIDC RP API (#2034) 2019-12-04 17:50:41 +01:00
Maxime Besson
7fe25b2f68 API skeleton 2019-12-04 09:59:40 +01:00
Christophe Maudoux
c1c6a8a9a6 Update langs & version (#1999) 2019-11-22 22:39:56 +01:00
Christophe Maudoux
7324172023 Merge branch 'v2.0' into globalLogout 2019-11-20 21:11:34 +01:00
Clément OUDOT
e454905493 Allow any value for managerDn (#1967) 2019-11-20 18:18:51 +01:00
Christophe Maudoux
4d60dac78d Append total of notifications & Fix menu toggle (#2012) 2019-11-19 22:06:15 +01:00
Christophe Maudoux
ef5d0cde48 Merge branch 'v2.0' into globalLogout 2019-11-18 22:15:54 +01:00
Christophe Maudoux
e20555623e Append defaulCondition option (#2012) 2019-11-18 17:34:56 +01:00
Christophe Maudoux
ea3337574c Append conf manager test (#2012) 2019-11-17 22:36:52 +01:00
Christophe Maudoux
15711c642e Merge branch 'v2.0' into globalLogout 2019-11-15 21:49:56 +01:00
Maxime Besson
bedcf20806 Change portal error code on 2F failure (#2008) 2019-11-15 11:19:08 +01:00
Christophe Maudoux
7ef9e132c9 Append GlobalLogout plugin (#1999) 2019-11-13 20:56:56 +01:00
Christophe Maudoux
80a1e4bf57 WIP - Append GlobalLogout plugin (#1999) 2019-11-11 22:33:30 +01:00
Maxime Besson
713737c11f Add an option to return claims in ID token 2019-11-04 18:27:28 +01:00
Maxime Besson
a52c06e698 Add manager tab for Offline sessions (#813) 2019-11-04 10:47:35 +01:00
Maxime Besson
a386a7502a Allow refresh tokens to be emitted for regular sessions (#813) 2019-11-04 10:44:54 +01:00
Maxime Besson
ea2365cc98 Implement OIDC Offline sessions through refresh tokens (#813) 2019-11-04 10:44:54 +01:00
Christophe Maudoux
2efb445534 Merge branch 'v2.0' 2019-11-02 12:06:09 +01:00
Christophe Maudoux
c01c26af6a Append option to override Issuer OTT storage (#1993) 2019-10-31 11:40:33 +01:00
Christophe Maudoux
1d2bbab057 make json 2019-10-30 18:52:27 +01:00
Christophe Maudoux
21b1e75a4d Merge branch 'v2.0' into 1988 2019-10-30 16:35:44 +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
Christophe Maudoux
9231711a41 Merge branch 'v2.0' 2019-10-29 19:33:11 +01:00
Christophe Maudoux
836add81c0 Parse conf (#1988) 2019-10-27 17:17:58 +01:00
Christophe Maudoux
ef08306906 Merge branch 'v2.0' into 1988 2019-10-26 22:58:37 +02:00
Christophe Maudoux
5eaf00601e WIP 2019-10-26 21:40:19 +02:00
Christophe Maudoux
8903874b98 WIP - Append option & update langs 2019-10-26 12:43:27 +02:00
Maxime Besson
b25470f818 Fix handling of empty or invalid choice overloads (#1962) 2019-10-18 18:04:29 +02:00
Maxime Besson
4afecb4620 Remove IDP cookie (#1941) 2019-10-17 23:09:03 +02:00
Maxime Besson
dccf1b2ce4 Fix _whatToTrace default OIDC value
_oidc_OP is the OIDC provider that authenticated us, oidcConnectedRP is
(if relevant) the RP we are coming from
2019-10-17 22:50:25 +02:00
Xavier
3f7ae26d49 Merge branch 'v2.0' 2019-10-15 22:12:27 +02:00
Christophe Maudoux
4bb6e94b3c Fix doc link (#1956) 2019-10-13 15:40:49 +02:00
Christophe Maudoux
0ca649f106 Use custom decrypt functions (#1956) 2019-10-13 15:08:32 +02:00
Xavier
6453a04a55 Merge branch 'v2.0' 2019-10-09 07:08:30 +02:00
Christophe Maudoux
3d4aebcb21 Tidy & Fix version (#1968) 2019-10-05 12:03:49 +02:00
Christophe Maudoux
ee6d67e4fd Better fix - Don t load localConf twice (#1968) 2019-10-05 11:54:55 +02:00
Christophe Maudoux
c43ed2b5ca Fix skip conf tests (#1968) 2019-10-02 22:05:31 +02:00
Maxime Besson
914a760e25 Fix Choice parameter overload in manager (#1962) 2019-10-01 14:50:22 +02:00
Xavier
2323c031ec Merge branch 'v2.0' 2019-09-30 23:20:12 +02:00
Christophe Maudoux
138cfe6edb Append DecryptValue plugin (#1956) 2019-09-30 22:29:49 +02:00
Christophe Maudoux
a219a51e1c Revert "Make manifest"
This reverts commit c00110ed01.
2019-09-30 22:28:55 +02:00
Christophe Maudoux
c00110ed01 Make manifest 2019-09-30 22:26:55 +02:00
Christophe Maudoux
e612f53838 Merge branch 'v2.0' 2019-09-27 22:33:00 +02:00
Christophe Maudoux
1d0a79ba5d Fix returned values (#1954) 2019-09-27 21:46:18 +02:00
Xavier
cc79680b89 Merge branch 'v2.0' 2019-09-24 21:03:55 +02:00
Xavier
b332a07dc9 Spelling error 2019-09-24 19:24:39 +02:00
Christophe Maudoux
9ec3ef8cfe Merge branch 'v2.0' 2019-09-22 15:54:58 +02:00
Christophe Maudoux
8af332c265 make json 2019-09-22 15:50:43 +02:00
Christophe Maudoux
c34c6e646e Append search parameters & improve unit test (#1938) 2019-09-19 22:51:10 +02:00
Clément OUDOT
0466a2c8cc Merge remote-tracking branch 'origin/master' into maxbes/lemonldap-ng-fix-1882-remove-oidcServiceMetaDataIssuer 2019-09-19 15:31:25 +02:00
Xavier
cccd025dfc Tidy + typo 2019-09-18 21:49:55 +02:00
Xavier
fedea4abbd Merge remote-tracking branch 'mamesene/certificateReset-1605' 2019-09-18 21:44:31 +02:00
Clément OUDOT
28b5cc0e31 Force lower case in initial value of _whatToTrace macro (#1869) 2019-09-18 21:19:53 +02:00
Christophe Maudoux
52be87b012 Merge branch 'v2.0' 2019-09-18 21:14:24 +02:00
Clément OUDOT
30a674da2c Move display generate password box option (#1928) 2019-09-18 16:06:12 +02:00
mamesene
9d149a95f6 Reset Certificate module (#1605) 2019-09-18 16:04:45 +02:00
Christophe Maudoux
ed345329ec Avoid warning 2019-09-17 21:42:42 +02:00
Maxime Besson
a8cab64c5b Remove oidcServiceMetaDataIssuer (#1882) 2019-09-17 21:34:25 +02:00
Xavier
212a07ca20 Update versions 2019-09-17 20:57:48 +02:00
Xavier
8b5387a48b Merge branch 'v2.0' 2019-09-17 20:56:39 +02:00
Maxime Besson
98f55fd384 Translate the error code displayed in debug logs 2019-09-17 20:17:57 +02:00
Xavier
f9704e8982 Merge branch 'v2.0' 2019-09-16 22:58:01 +02:00
Christophe Maudoux
5615d5b2a3 Append display Slave logo option (#1936) 2019-09-14 22:07:44 +02:00
Christophe Maudoux
9784e75ead Check Slave credential headers (#1935) 2019-09-13 22:21:09 +02:00
Christophe Maudoux
c446f194eb Import custom functions into Conf Jail (#1929) 2019-09-13 10:03:28 +02:00
Xavier
e1fe12a94d Merge branch 'v2.0' 2019-09-12 22:03:57 +02:00
Xavier
e50e7d09d1 Update version of (really) modified files 2019-09-12 21:56:49 +02:00
Clément OUDOT
84cea17ced Parameter in Manager (#1928) 2019-09-12 18:42:53 +02:00
Xavier
d881605fed Merge branch 'v2.0' 2019-09-11 21:22:50 +02:00
Christophe Maudoux
86daaf54f6 Append parameter & update langs (#1925) 2019-09-10 10:15:17 +02:00
Clément OUDOT
374cac7874 Remove linkedInFields parameter (#1890) 2019-09-09 11:23:55 +02:00
Christophe Maudoux
132f42d44c Forbid browsers to store users password & Improve unit tests (#1913) 2019-09-08 19:28:28 +02:00
Maxime Besson
94877793d4 increase clock tolerance during rest secret check (#1923) 2019-09-06 17:45:51 +02:00
Clément OUDOT
a0f9c85913 Define ldapITDS parameter in Manager (#1619) 2019-09-05 17:17:21 +02:00
Clément OUDOT
068ffbe604 Define portalDisplayPasswordPolicy parameter in Manager (#993) 2019-09-05 13:02:51 +02:00
Clément OUDOT
d7262767dc Add local password policy parameters in Manager (#993) 2019-09-05 10:55:08 +02:00
Christophe Maudoux
afd915f64c Merge branch 'v2.0' 2019-09-03 23:00:07 +02:00
Christophe Maudoux
750d0e1c70 Improve conf test (#1916) 2019-09-03 22:52:07 +02:00
Christophe Maudoux
56ed8a5724 Append issuersTimeout option (#1916) 2019-09-03 22:52:07 +02:00
Christophe Maudoux
8c2613ca72 Update version (#1904) 2019-09-01 22:37:53 +02:00
Christophe Maudoux
174193e74c Merge branch 'v2.0' 2019-09-01 22:11:33 +02:00
Christophe Maudoux
1166d5442c Explain removed keys (#1904) 2019-09-01 21:40:44 +02:00
Christophe Maudoux
873e5084e0 Append "Don t compact conf" option (#1904) 2019-08-31 23:03:17 +02:00
Maxime Besson
d61935ab6e Implement introspection endpoint for access tokens (#1843) 2019-08-29 19:10:51 +02:00
Christophe Maudoux
1212cd9ba2 Merge branch 'v2.0' 2019-08-25 18:47:43 +02:00
Christophe Maudoux
baf4a96cf1 Modify CAS Apps options order 2019-08-25 18:10:45 +02:00
Christophe Maudoux
c00b16363b Detect CAS/OIDC conf. changes (#1889) 2019-08-25 18:10:45 +02:00
Clément OUDOT
47dc4936ac Replace default LinkedIn scopes (#1890) 2019-08-22 15:08:45 +02:00
Christophe Maudoux
96c5006d9a Fix wrapper (#1885) 2019-08-20 22:36:51 +02:00
Christophe Maudoux
4d583ceb9c Append a custom param to log (#1885) 2019-08-20 22:04:05 +02:00
Xavier
bef05c6f5d Merge branch 'v2.0' 2019-08-20 21:49:21 +02:00
Christophe Maudoux
5d3db32dd9 Fix regex (#1880) 2019-08-20 21:12:34 +02:00
Christophe Maudoux
d7e7b622ce Disable viewer with default options (#1880) 2019-08-20 17:06:51 +02:00
Christophe Maudoux
7d0d9da101 Update Manager.pm 2019-08-20 14:58:09 +02:00
Christophe Maudoux
9d9f4f2e03 Update viewer 2019-08-18 11:14:42 +02:00
Christophe Maudoux
b1c637cfca Revert "Append a custom param to be logged (#1885)"
This reverts commit 1e838f0487
2019-08-16 15:28:47 +02:00
Christophe Maudoux
1e838f0487 Append a custom param to be logged (#1885) 2019-08-16 15:25:21 +02:00
Xavier
424121af8a Add forceGlobalStorageUpgradeOTT doc (#1884) 2019-08-16 12:58:08 +02:00
Christophe Maudoux
28732d614b Merge branch 'v2.0' 2019-08-15 22:43:20 +02:00
Christophe Maudoux
0f4d3c8b04 Fix default values display issue 2019-08-13 23:24:18 +02:00
Christophe Maudoux
1f782ec4c1 Fix viewer display issue 2019-08-13 21:59:30 +02:00
Maxime Besson
2e9f57ab6f Better default behavior for oidcServiceMetaDataIssuer (#1882) 2019-08-13 18:09:59 +02:00
Xavier Guimard
c928189779 Better manager regexps 2019-08-12 15:34:48 +02:00
Christophe Maudoux
866d5457f3 Merge branch 'v2.0' 2019-08-09 23:33:59 +02:00
Christophe Maudoux
fdee58a120 Better fix (#1880) 2019-08-09 09:24:32 +02:00
Christophe Maudoux
33e7a05f8a Append parameter to set Manager default route (#1880) 2019-08-08 22:39:09 +02:00
Maxime Besson
13937b948f Fix RSA private key regexp
Previously it accepted BEGIN PRIVATE KEY but not END PRIVATE KEY
2019-08-06 15:46:24 +02:00
Christophe Maudoux
3a660bde24 Merge branch 'v2.0' 2019-08-03 11:18:06 +02:00
Maxime Besson
15c3b0bbf8 Add Radius second factor (#1847) 2019-08-02 18:03:10 +02:00
Maxime Besson
c1afdbefac Add labels and logos to all 2F providers (#1873) 2019-08-01 17:27:14 +02:00
Christophe Maudoux
b1399fb583 perltidy 2019-07-31 23:08:49 +02:00
Christophe Maudoux
499b16bd07 Merge branch 'v2.0' 2019-07-31 16:34:38 +02:00
Christophe Maudoux
96ae65e800 Re-order 2FA (#1860) 2019-07-31 16:31:04 +02:00
Christophe Maudoux
ecb3204d38 Append conf parameters (#1851) 2019-07-25 11:59:00 +02:00
Christophe Maudoux
c82fc0f572 Merge branch 'v2.0' 2019-07-23 16:03:10 +02:00
Maxime Besson
d82f776df8 Allow multi instanciation of 2F modules (#1860)
This commit adds a manager interface to declare multiple instances of a
single 2F module, in a manner similar to Combination.

An additional portal code reads the `sfExtra` variable to load the
declared modules.

An empty rules means the module will be always active.
2019-07-22 19:30:37 +02:00
Christophe Maudoux
b705b10da8 Merge branch 'v2.0' 2019-07-17 12:26:55 +02:00
Xavier Guimard
966eef33ee Fix df96168c error: _example/conf/lmConf-1.json is auto-generated (#1850) 2019-07-10 17:15:40 +02:00
Christophe Maudoux
b7c8d30b3f Merge branch 'v2.0' 2019-07-10 12:16:43 +02:00
Christophe Maudoux
36c806fa61 make json 2019-07-07 22:30:24 +02:00
Christophe Maudoux
240617d8d8 Fix unit tests 2019-07-06 23:27:45 +02:00
Christophe Maudoux
2aee0467b0 Hide _session_id with CheckUser (#1658) 2019-07-06 22:55:31 +02:00
Christophe Maudoux
3ddc92d4f3 Update conf. test (#1825) 2019-07-05 23:09:23 +02:00
Christophe Maudoux
2016abd2ee Send pdata cookie to cross domain (#1829) 2019-07-04 21:49:28 +02:00
Xavier
a104db2f2d Clean logs 2019-07-04 07:24:50 +02:00
Xavier
3b7a70e0b7 Merge branch 'v2.0' (with new tidy) 2019-07-02 20:12:11 +02:00
Xavier Guimard
c1137edba8 make tidy with perltidy-20181120 2019-07-02 20:03:40 +02:00
Xavier Guimard
af63d55c08 Merge branch 'v2.0' 2019-07-01 20:21:42 +02:00
Xavier Guimard
364fb8b627 Improve cli-restore file read (#1833) 2019-07-01 16:45:40 +02:00
Xavier Guimard
17b84e3eb8 Cli-restore: Verify that file is readable (#1833) 2019-07-01 16:26:51 +02:00