Skip to content
This repository was archived by the owner on Jun 12, 2021. It is now read-only.

Commit 46742a4

Browse files
committed
Order matters
1 parent 7d2cb95 commit 46742a4

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

src/oidcendpoint/endpoint_context.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,18 @@ def __init__(
134134
self.par_db = {}
135135
self.dev_auth_db = {}
136136

137+
for param in [
138+
"issuer",
139+
"sso_ttl",
140+
"symkey",
141+
"client_authn",
142+
"id_token_schema",
143+
]:
144+
try:
145+
setattr(self, param, conf[param])
146+
except KeyError:
147+
pass
148+
137149
self.th_args = get_token_handlers(conf)
138150

139151
# client database
@@ -165,18 +177,6 @@ def __init__(
165177
"session_management": "sman",
166178
}
167179

168-
for param in [
169-
"issuer",
170-
"sso_ttl",
171-
"symkey",
172-
"client_authn",
173-
"id_token_schema",
174-
]:
175-
try:
176-
setattr(self, param, conf[param])
177-
except KeyError:
178-
pass
179-
180180
try:
181181
self.template_handler = conf["template_handler"]
182182
except KeyError:

0 commit comments

Comments
 (0)