Skip to content

Commit 25fb2f6

Browse files
author
Ioannis Kakavas
committed
Bug fix
1 parent c674fd4 commit 25fb2f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/satosa/frontends/openid_connect.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ def _create_provider(self, endpoint_baseurl):
7878

7979
authz_state = self._init_authorization_state()
8080
db_uri = self.config.get("db_uri")
81-
cdb_file = self.config.get("db_file")
81+
cdb_file = self.config.get("client_db_path")
8282
if db_uri:
8383
cdb = MongoWrapper(db_uri, "satosa", "clients")
8484
elif cdb_file:
85-
with open(self.config['client_db_path']) as f:
85+
with open(cdb_file) as f:
8686
cdb = json.loads(f.read())
8787
else:
8888
cdb = {}

0 commit comments

Comments
 (0)