Révision b71e8531
Ajouté par Serghei Mihai il y a environ 9 ans
ckanext/ozwillo_pyoidc/conf.py | ||
---|---|---|
21 | 21 |
"response_types": ["code"] |
22 | 22 |
} |
23 | 23 |
|
24 |
BEHAVIOUR = { |
|
25 |
"response_type": "code", |
|
26 |
"scope": ["openid", "profile", "email", "address", "phone"], |
|
27 |
} |
|
28 |
|
|
29 | 24 |
ACR_VALUES = ["SAML"] |
30 | 25 |
|
31 |
# The keys in this dictionary are the OPs short userfriendly name |
|
32 |
# not the issuer (iss) name. |
|
33 |
|
|
34 |
CLIENTS = { |
|
35 |
# The ones that support webfinger, OP discovery and client registration |
|
36 |
# This is the default, any client that is not listed here is expected to |
|
37 |
# support dynamic discovery and registration. |
|
38 |
# Supports OP information lookup but not client registration |
|
39 |
"ozwillo": { |
|
40 |
"srv_discovery_url": "https://accounts.ozwillo-preprod.eu/", |
|
41 |
"client_registration": { |
|
42 |
"client_id": None, |
|
43 |
"client_secret": None, |
|
44 |
"redirect_uris": [], |
|
45 |
}, |
|
46 |
"behaviour": { |
|
47 |
"response_type": "code", |
|
48 |
"scope": ["openid", "profile", "email"] |
|
49 |
}, |
|
50 |
"allow": { |
|
51 |
"issuer_mismatch": True |
|
52 |
} |
|
26 |
CLIENT = { |
|
27 |
"srv_discovery_url": "https://accounts.ozwillo-preprod.eu/", |
|
28 |
"client_registration": { |
|
29 |
"client_id": None, |
|
30 |
"client_secret": None, |
|
31 |
"redirect_uris": [], |
|
32 |
}, |
|
33 |
"behaviour": { |
|
34 |
"response_type": "code", |
|
35 |
"scope": ["openid", "profile", "email"] |
|
36 |
}, |
|
37 |
"allow": { |
|
38 |
"issuer_mismatch": True |
|
53 | 39 |
} |
54 | 40 |
} |
Formats disponibles : Unified diff
Client building refactored