Commit Graph

57 Commits

Author SHA1 Message Date
Christophe Maudoux
0a4fabb4e4 Use strict & fix warnings 2020-11-21 19:24:04 +01:00
Maxime Besson
ac3d521c5e API: remove confKey from PUT body 2020-10-14 14:18:17 +02:00
Maxime Besson
338958f269 API: add redirectUris to top level response 2020-10-14 11:37:13 +02:00
Maxime Besson
0ca8701ea7 Api: friendly error if confKey is empty during creation 2020-10-14 11:36:37 +02:00
Maxime Besson
2b4c76cf4d API: tidy CasApp.pm 2020-10-14 11:36:16 +02:00
Xavier Guimard
c8df084247 Update versions 2020-09-04 17:59:00 +02:00
Xavier Guimard
b9e9ff1f3f Make autopkgtest happy 2020-09-04 06:23:35 +02:00
Maxime Besson
07828a9a85 Add healthcheck endpoint to manager API (#2299) 2020-08-28 17:00:48 +02:00
Maxime Besson
c5c6c4ab0c Factor genId2F method into Common 2020-08-17 18:43:29 +02:00
Soisik Froger
cbe85dd6a2 Manager API: Check confKey is valid when adding a new cat or app to avoid breaking configuration 2020-06-26 10:05:08 +00:00
Soisik Froger
e558b30628 Manager API: Fixed error when adding an app to non existing category - now returns a 404 2020-06-26 07:46:24 +00:00
Soisik Froger
53cce170d2 Manager API: Added 404 response code to openapi spec, improved error message on category not found when getting/listing application(s) and added tests to ensure 404 is returned on category or apps not found. 2020-06-26 07:30:22 +00:00
Soisik Froger
72f957957a Manager API: Added menu category and application API (includes openapi spec & tests) 2020-06-24 14:58:10 +00:00
Soisik Froger
dcc49bd58e Manager API: Added some minor fixes for CasApp provider API 2020-06-18 09:18:10 +02:00
Maxime Besson
0c70e8be0c Manager API: compare host part of service URL only 2020-06-17 22:21:01 +02:00
Maxime Besson
4e0003d5d8 Manager API: fix perl warning 2020-06-17 22:21:01 +02:00
Soisik Froger
4699a1accb Manager API: service as primary key for CAS application 2020-06-17 09:33:33 +00:00
Soisik Froger
bbc9d27a8b Manager API: Added CAS provider API (includes openapi spec & tests) 2020-06-17 06:57:40 +00:00
Maxime Besson
91ba11b898 API: change success codes (#2034) 2020-04-22 11:55:53 +02:00
Maxime Besson
b36a891dfb Api: replace regep pattern with globs (#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
4a610f036d API: return 409 on resource conflicts (#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
ceac3e7d6f API: change clientID to clientId in options (#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
0d951c55f1 API: Check configuration validity before saving (#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
34389242cb API: handle oidc RedirectURI as array (#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
e0edd1449b Hide prefix from option names in API (#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
369c08337c Add per-service macros to API (#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
53a1e61394 Fix extraClaims name in API (#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
2f8be3eb57 API: change error codes from 405 to 400 (#2033,#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
8c7ea1a42a improve handling of JSON errors in 2F api (#2033) 2020-03-09 14:45:32 +01:00
Xavier Guimard
4459a47f76 Tidy 2020-02-20 23:37:05 +01:00
Maxime Besson
2e3c8d445f API: Fix pivot attribute for 2FA deletion (#2033) 2020-01-24 14:51:36 +01:00
Christophe Maudoux
2481a1922c Typo (Thx Soisik ;-) 2020-01-10 21:30:51 +01:00
Christophe Maudoux
a310438a87 Fix warning 2020-01-10 20:11:41 +01:00
Soisik Froger
715987c292 Manager API - Set noCache=1 to getConf before calling saveConf (related to #2058) 2020-01-08 09:21:18 +00:00
Soisik Froger
be414ee4fa Manager API - perltidy - #2033 2020-01-02 15:55:44 +00:00
Soisik Froger
62b9e8574c Manager API - 2F remove from SSO session and local cache - #2033 2020-01-02 16:43:53 +01:00
Soisik Froger
badef81aa8 Manager API - perltidy - #2034 & #2033 2019-12-20 10:13:15 +00:00
Soisik Froger
e939fa42fa Manager API - 2F unit tests - #2033 2019-12-20 10:05:16 +00:00
Soisik Froger
4e4f42460a Manager API - 2F get & delete routes/methods - #2033 2019-12-19 15:52:51 +00:00
Soisik Froger
c8e36a8899 Manager API - FindBy(clientId/entityId) should send back 404 when not found - #2034 2019-12-18 16:18:17 +00:00
Soisik Froger
37d01266a9 Manager API - perltidy - #2034 2019-12-17 19:58:55 +00:00
Soisik Froger
4c5948623c Manager API - samlSP unit tests and ajustments for update/patch to keep old values - #2034 2019-12-17 17:43:29 +00:00
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
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
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