|
1 |
| - |
2 |
| -INSERT INTO oidc_clients |
3 |
| - (client_name, client_id, client_secret, redirect_uris, |
4 |
| - post_logout_redirect_uris, scope, client_uri, client_description, |
5 |
| - userinfo_signed_response_alg, id_token_signed_response_alg, |
6 |
| - authorization_signed_response_alg, introspection_signed_response_alg, |
7 |
| - is_proconnect_federation) |
| 1 | +INSERT INTO |
| 2 | + oidc_clients ( |
| 3 | + client_name, |
| 4 | + client_id, |
| 5 | + client_secret, |
| 6 | + redirect_uris, |
| 7 | + post_logout_redirect_uris, |
| 8 | + scope, |
| 9 | + client_uri, |
| 10 | + client_description, |
| 11 | + userinfo_signed_response_alg, |
| 12 | + id_token_signed_response_alg, |
| 13 | + authorization_signed_response_alg, |
| 14 | + introspection_signed_response_alg, |
| 15 | + is_proconnect_federation |
| 16 | + ) |
8 | 17 | VALUES
|
9 | 18 | (
|
10 | 19 | 'ProConnect Federation',
|
11 | 20 | 'proconnect_federation_client_id',
|
12 | 21 | 'proconnect_federation_client_secret',
|
13 |
| - ARRAY [ |
14 |
| - 'http://localhost:4001/login-callback' |
15 |
| - ], |
16 |
| - ARRAY []::varchar[], |
| 22 | + ARRAY['http://localhost:4001/login-callback'], |
| 23 | + ARRAY[]::varchar[], |
17 | 24 | 'openid uid given_name usual_name email phone siret is_service_public is_public_service',
|
18 | 25 | 'http://localhost:4001/',
|
19 | 26 | 'Dispositif d’identification des agents de la fonction publique.',
|
20 |
| - 'ES256', 'ES256', 'ES256', 'ES256', |
| 27 | + 'ES256', |
| 28 | + 'ES256', |
| 29 | + 'ES256', |
| 30 | + 'ES256', |
21 | 31 | true
|
22 | 32 | ),
|
23 | 33 | (
|
24 | 34 | 'Broken URL',
|
25 | 35 | 'standard_client_id',
|
26 | 36 | 'standard_client_secret',
|
27 |
| - ARRAY [ |
28 |
| - '0/login-callback' |
29 |
| - ], |
30 |
| - ARRAY []::varchar[], |
| 37 | + ARRAY['0/login-callback'], |
| 38 | + ARRAY[]::varchar[], |
31 | 39 | 'openid email profile organization',
|
32 | 40 | 'http://localhost:4000/',
|
33 | 41 | 'ProConnect test client. More info: https://github.com/proconnect-gouv/proconnect-test-client.',
|
34 |
| - null, null, null, null, |
| 42 | + null, |
| 43 | + null, |
| 44 | + null, |
| 45 | + null, |
35 | 46 | false
|
36 |
| - ); |
| 47 | + ); |
0 commit comments