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

Commit 8eff79d

Browse files
authored
Merge pull request #172 from FaceInTheCrowd/fix_flask_op_example
Fix imports and config
2 parents d26bdb9 + b492f6d commit 8eff79d

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

example/flask_op/server.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
import logging
55
import os
66

7-
from oidcop.configure import Configuration
7+
from oidcmsg.configure import Configuration
8+
from oidcmsg.configure import create_from_config_file
9+
810
from oidcop.configure import OPConfiguration
9-
from oidcop.configure import create_from_config_file
1011
from oidcop.utils import create_context
1112

1213
try:
@@ -62,7 +63,7 @@ def main(config_file, args):
6263
app = oidc_provider_init_app(config.op, 'oidc_op')
6364
app.logger = config.logger
6465

65-
web_conf = config.webserver
66+
web_conf = config.web_conf
6667

6768
context = create_context(dir_path, web_conf)
6869

0 commit comments

Comments
 (0)