Project

General

Profile

Download (955 Bytes) Statistics
| Branch: | Tag: | Revision:

oidc / ckanext / ozwillo_pyoidc / conf.py @ cb408fc1

1 c8204b73 Serghei Mihai
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 a893339e Serghei MIHAI
ACR_VALUES = None
25 c8204b73 Serghei Mihai
26 b71e8531 Serghei MIHAI
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 cfeed898 Serghei MIHAI
        "scope": ["openid", "profile"]
36 b71e8531 Serghei MIHAI
    },
37
    "allow": {
38
        "issuer_mismatch": True
39 c8204b73 Serghei Mihai
    }
40
}