Projet

Général

Profil

Télécharger (968 octets) Statistiques
| Branche: | Tag: | Révision:

oidc / ckanext / ozwillo_pyoidc / conf.py @ b71e8531

1
PORT = 8666
2
#BASE = "https://lingon.ladok.umu.se:" + str(PORT) + "/"
3
BASE = "http://ckan.dev.entrouvert.org"
4

    
5

    
6
# If BASE is https these has to be specified
7
SERVER_CERT = "certs/server.crt"
8
SERVER_KEY = "certs/server.key"
9
CA_BUNDLE = None
10

    
11
VERIFY_SSL = False
12

    
13
# information used when registering the client, this may be the same for all OPs
14

    
15
ME = {
16
    "application_type": "web",
17
    "application_name": "idpproxy",
18
    "contacts": ["ops@example.com"],
19
    "redirect_uris": ["%sauthz_cb" % BASE],
20
    "post_logout_redirect_uris": ["%slogout" % BASE],
21
    "response_types": ["code"]
22
}
23

    
24
ACR_VALUES = ["SAML"]
25

    
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
39
    }
40
}
(2-2/4)