Commit Graph

79 Commits

Author SHA1 Message Date
Yadd
b88a72c267 tidy 2022-02-16 17:43:29 +01:00
Maxime Besson
af7abe8d19 Merge branch 'fix-webauthn-1411' into v2.0 2022-02-16 10:38:09 +01:00
Maxime Besson
73046867e6 Allow WebAuthn in 2F manager API (#1411) 2022-02-11 18:44:22 +01:00
Clément OUDOT
b1bc592f00 Add unit test when service is not an array (#2673) 2022-01-24 19:58:42 +01:00
Clément OUDOT
8c998fe0a2 Better error message (#2673) 2022-01-24 19:42:12 +01:00
Clément OUDOT
2d3cb1ca4c Test if service parameter is an array (#2673) 2022-01-24 18:51:19 +01:00
Clément OUDOT
c34f8c8291 Manager CAS service option as an array (#2673) 2022-01-23 18:03:47 +01:00
Clément OUDOT
8482089a88 Fix error message in Manager API 2022-01-23 16:40:21 +01:00
Yadd
83b45db614 Fix versions 2021-06-28 15:36:29 +02:00
Maxime Besson
21098bcce5 Add array handling for additional audiences (#2453) 2021-02-03 09:43:35 +01:00
Maxime Besson
39bc2525fe Add scopeRules to oidc providers api (#2424) 2021-02-01 16:25:36 +01:00
Maxime Besson
05b04b0236 Fix redirectUri top level field in manager API (#2440) 2021-01-14 18:59:34 +01:00
Maxime Besson
219aeb1547 tidy 2020-12-28 17:48:47 +01:00
Maxime Besson
099b1890bc call reloadUrls when saving config from the api (#2245) 2020-12-28 17:48:09 +01:00
Maxime Besson
13b1097304 Refactor SAML/CAS api to use value translation (#2318) 2020-12-28 15:47:20 +01:00
Maxime Besson
acef2ed5c6 Translate api option values from json bool to int (#2318) 2020-12-28 15:44:47 +01:00
Maxime Besson
ac4866f767 Fix error when updating saml sp via API (#2425) 2020-12-28 15:43:41 +01:00
Maxime Besson
b1545bce5b Revert "Translate incoming JSON bools (#2318)"
This reverts commit 85574cf97e.
2020-12-28 15:18:47 +01:00
Maxime Besson
82c696ea82 Handle postLogoutRedirectUris as array (#2347) 2020-12-28 15:10:35 +01:00
Maxime Besson
6f25d43bdf Refactor attribute handling in OIDC manager api (#2347) 2020-12-28 14:50:45 +01:00
Christophe Maudoux
0236dc00d6 Removing workaround with MailPasswordReset 2020-12-23 14:57:55 +01:00
Maxime Besson
85574cf97e Translate incoming JSON bools (#2318) 2020-12-22 12:21:22 +01:00
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