@@ -5,9 +5,10 @@ BASEURL: "https://localhost:8089"
5
5
# If BASE is https these has to be specified
6
6
SERVER_CERT : " certs/cert.pem"
7
7
SERVER_KEY : " certs/key.pem"
8
- CA_BUNDLE : None
8
+ CA_BUNDLE : ' '
9
9
10
- VERIFY_SSL : False
10
+ # This is just for testing an local usage. In all other cases it MUST be True
11
+ VERIFY_SSL : false
11
12
12
13
KEYDEFS : &keydef
13
14
-
@@ -19,38 +20,51 @@ KEYDEFS: &keydef
19
20
" crv " : " P-256"
20
21
" use " : ["sig"]
21
22
23
+ HTML_HOME : ' html'
24
+ SECRET_KEY : ' secret_key'
25
+ SESSION_COOKIE_NAME : ' rp_session'
26
+ PREFERRED_URL_SCHEME : ' https'
27
+
22
28
RP_KEYS :
23
- ' private_path ' : ' jwks_dir /jwks.json'
29
+ ' private_path ' : ' ./private /jwks.json'
24
30
' key_defs ' : *keydef
25
- ' public_path ' : ' static/jwks.json'
31
+ ' public_path ' : ' ./ static/jwks.json'
26
32
# this will create the jwks files if they absent
27
33
' read_only ' : False
28
34
29
35
# information used when registering the client, this may be the same for all OPs
30
36
37
+ client_preferences : &prefs
38
+ application_name : rphandler
39
+ application_type : web
40
+
41
+ response_types : [code]
42
+ scope : [openid, profile, email, address, phone]
43
+ token_endpoint_auth_method : [client_secret_basic, client_secret_post]
44
+
31
45
services : &services
32
46
discovery :
33
- class : oidcservice.rp.provider_info_discovery.ProviderInfoDiscovery
47
+ class : oidcservice.oidc.provider_info_discovery.ProviderInfoDiscovery
48
+ kwargs : {}
34
49
registration :
35
- class : oidcservice.rp.registration.Registration
50
+ class : oidcservice.oidc.registration.Registration
51
+ kwargs : {}
36
52
authorization :
37
53
class : oidcservice.oidc.authorization.Authorization
54
+ kwargs : {}
38
55
accesstoken :
39
- class : oidcservice.oidc.accesstoken.Accesstoken
56
+ class : oidcservice.oidc.access_token.AccessToken
57
+ kwargs : {}
40
58
refresh_accesstoken :
41
59
class : oidcservice.oidc.refresh_access_token.RefreshAccessToken
60
+ kwargs : {}
42
61
userinfo :
43
62
class : oidcservice.oidc.userinfo.UserInfo
63
+ kwargs : {}
44
64
end_session :
45
- class : oidcservice.oidc.session.EndSession
65
+ class : oidcservice.oidc.end_session.EndSession
66
+ kwargs : {}
46
67
47
- client_preferences : &prefs
48
- application_name : rphandler
49
- application_type : web
50
-
51
- response_types : [code]
52
- scope : [openid, profile, email, address, phone]
53
- token_endpoint_auth_method : [client_secret_basic, client_secret_post]
54
68
55
69
56
70
# The keys in this dictionary are the OPs short user friendly name
@@ -302,4 +316,5 @@ clients:
302
316
https://pf.example.com/ : https://pf.example.com/jwks.json
303
317
304
318
# Whether an attempt to fetch the userinfo should be made
305
- userinfo : True
319
+ USERINFO : true
320
+
0 commit comments