Revision b71e8531
Added by Serghei Mihai almost 11 years ago
| ckanext/ozwillo_pyoidc/conf.py | ||
|---|---|---|
|
"response_types": ["code"]
|
||
|
}
|
||
|
|
||
|
BEHAVIOUR = {
|
||
|
"response_type": "code",
|
||
|
"scope": ["openid", "profile", "email", "address", "phone"],
|
||
|
}
|
||
|
|
||
|
ACR_VALUES = ["SAML"]
|
||
|
|
||
|
# The keys in this dictionary are the OPs short userfriendly name
|
||
|
# not the issuer (iss) name.
|
||
|
|
||
|
CLIENTS = {
|
||
|
# The ones that support webfinger, OP discovery and client registration
|
||
|
# This is the default, any client that is not listed here is expected to
|
||
|
# support dynamic discovery and registration.
|
||
|
# Supports OP information lookup but not client registration
|
||
|
"ozwillo": {
|
||
|
"srv_discovery_url": "https://accounts.ozwillo-preprod.eu/",
|
||
|
"client_registration": {
|
||
|
"client_id": None,
|
||
|
"client_secret": None,
|
||
|
"redirect_uris": [],
|
||
|
},
|
||
|
"behaviour": {
|
||
|
"response_type": "code",
|
||
|
"scope": ["openid", "profile", "email"]
|
||
|
},
|
||
|
"allow": {
|
||
|
"issuer_mismatch": True
|
||
|
}
|
||
|
CLIENT = {
|
||
|
"srv_discovery_url": "https://accounts.ozwillo-preprod.eu/",
|
||
|
"client_registration": {
|
||
|
"client_id": None,
|
||
|
"client_secret": None,
|
||
|
"redirect_uris": [],
|
||
|
},
|
||
|
"behaviour": {
|
||
|
"response_type": "code",
|
||
|
"scope": ["openid", "profile", "email"]
|
||
|
},
|
||
|
"allow": {
|
||
|
"issuer_mismatch": True
|
||
|
}
|
||
|
}
|
||
Also available in: Unified diff
Client building refactored