diff --git a/budgetkey_api/modules/list_manager.py b/budgetkey_api/modules/list_manager.py index c7910c0..ac07be1 100644 --- a/budgetkey_api/modules/list_manager.py +++ b/budgetkey_api/modules/list_manager.py @@ -4,8 +4,7 @@ def setup_list_manager(app): - auth_endpoint = f'https://{os.environ["EXTERNAL_ADDRESS"]}/auth/' - verifyer_args = dict(auth_endpoint=auth_endpoint) + verifyer_args = dict(public_key=os.environ['PUBLIC_KEY']) app.register_blueprint( list_manager_blueprint(verifyer_args=verifyer_args), diff --git a/tests/sample.env b/tests/sample.env index 0c9d186..cd992d6 100644 --- a/tests/sample.env +++ b/tests/sample.env @@ -1,4 +1,5 @@ PRIVATE_KEY=PRIVATE_KEY +PUBLIC_KEY=PUBLIC_KEY DATABASE_PRIVATE_URL=sqlite:///tests/temp/db.sqlite3 DATABASE_READONLY_URL=sqlite:///tests/temp/db.sqlite3 EXTERNAL_ADDRESS=next.obudget.org