Commit Graph

10041 Commits

Author SHA1 Message Date
Maxime Besson
df9525095e Integrate API Documentation 2020-04-24 16:56:16 +02:00
Maxime Besson
f4bca12ab7 Add warning about vhost protection in config files (#2109) 2020-04-24 15:20:09 +02:00
Maxime Besson
e607d8281f OIDC: do not advertise missing functionality (#1194)
Back-Channel logout is not supported yet
2020-04-24 12:15:51 +02:00
Clément OUDOT
138ee4284f Disable cache when registering a new OIDC client (#2058) 2020-04-24 11:52:04 +02:00
Maxime Besson
ce49bad847 Add link to OIDC RP doc (#2175) 2020-04-24 11:18:17 +02:00
Maxime Besson
8143c5168b Unit tests for #2177 2020-04-24 11:10:44 +02:00
Maxime Besson
a3821fc560 Implement additional audiences in ID token (#2177) 2020-04-24 11:10:44 +02:00
Maxime Besson
00e9e2ec57 Add manager option for additional audiences (#2177) 2020-04-24 11:10:44 +02:00
Maxime Besson
ada6e9f056 Reorganize OIDC options (#2175) 2020-04-24 11:10:44 +02:00
Christophe Maudoux
e2679a0aee Improve unit test (#2173) 2020-04-24 00:25:10 +02:00
Christophe Maudoux
6018610196 Make checkUser option rules (#2173) 2020-04-24 00:25:10 +02:00
Xavier Guimard
c8c50d2575 Update translation 2020-04-23 22:33:21 +02:00
Xavier Guimard
3023ffebc2 Update translations 2020-04-23 22:27:16 +02:00
Maxime Besson
528d9594c7 unit test for #2155 2020-04-23 17:49:25 +02:00
Maxime Besson
6ccf078432 Implement Resource Owner Password Credentials grant (#2155) 2020-04-23 17:49:25 +02:00
Maxime Besson
64d023b731 Add manager option for password grant (#2155) 2020-04-23 17:49:25 +02:00
Maxime Besson
37f71a43b5 create helper function to display portal error code 2020-04-23 17:49:25 +02:00
Maxime Besson
bfdf56cfff Extract buildForm method from test lib 2020-04-23 17:49:25 +02:00
Xavier Guimard
0f0a73d6ec Update combination tests 2020-04-23 15:36:48 +02:00
Maxime Besson
ded6c74fe0 Allow special characters in scope names (#2168) 2020-04-23 14:50:53 +02:00
Maxime Besson
2d2275d929 Add portal error checker function to test lib 2020-04-23 14:50:53 +02:00
Christophe Maudoux
d11442ed26 Append setSessionInfo step (#2172) 2020-04-23 14:16:46 +02:00
Xavier Guimard
0baf014e6b Revert "Fix part of circular links (related to #1990)"
This reverts commit c9e7f3a1b0.
2020-04-23 12:00:51 +02:00
Maxime Besson
31f05b9e2d Make Introspection endpoint look for offline sessions (#2171) 2020-04-23 10:29:08 +02:00
Xavier Guimard
24c1a2e90a Restore default route (#1990) 2020-04-22 22:09:15 +02:00
Xavier Guimard
d5da0362fd Fix #1990 2020-04-22 21:46:59 +02:00
Maxime Besson
626715a580 Prevent duplicate consents in psession (#2169) 2020-04-22 21:26:38 +02:00
Maxime Besson
a217590869 Tidy OIDC 2020-04-22 21:25:56 +02:00
Christophe Maudoux
a74b5acafa Merge branch 'fix-oidc-info-2085' into 'v2.0'
Fix OIDC info before redirect (#2085)

See merge request lemonldap-ng/lemonldap-ng!134
2020-04-22 18:17:58 +02:00
Christophe Maudoux
df9beb25f2 Merge branch 'fix-2081' into 'v2.0'
Fix #2081 by detecting external URL

See merge request lemonldap-ng/lemonldap-ng!138
2020-04-22 17:58:26 +02:00
Xavier Guimard
56bcbe422e Fix temporary directories in tests 2020-04-22 15:45:50 +02:00
Xavier Guimard
055d1af161 Fix typo in test conf 2020-04-22 15:41:36 +02:00
Xavier Guimard
1f80a0ab8c Avoid little warning in test 2020-04-22 15:37:19 +02:00
Xavier Guimard
edb8313837 Add memory leak test (#1990) 2020-04-22 15:03:17 +02:00
Xavier Guimard
c9e7f3a1b0 Fix part of circular links (related to #1990) 2020-04-22 14:13:14 +02: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
1a37940ea9 improve api unit tests output (#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
09ed2197df Config parser: fail if a "select"-type option does not contain a scalar 2020-04-22 11:41:43 +02:00
Maxime Besson
a9b1b6bc1d configuration parser: check metadata/vhost options for syntax (#2166) 2020-04-22 11:41:36 +02:00
Maxime Besson
ecbcc0b6b6 Fix #2081 by detecting external URL 2020-04-22 11:25:06 +02:00
Maxime Besson
aa84a4213e Unit test for #2164 2020-04-22 11:02:59 +02:00