summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xopendc-web/opendc-web-api/app.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/opendc-web/opendc-web-api/app.py b/opendc-web/opendc-web-api/app.py
index c05e56b5..5916046b 100755
--- a/opendc-web/opendc-web-api/app.py
+++ b/opendc-web/opendc-web-api/app.py
@@ -86,6 +86,9 @@ def setup_swagger(app):
API_URL,
config={
'app_name': "OpenDC API v2"
+ },
+ oauth_config={
+ 'clientId': os.environ.get("AUTH0_DOCS_CLIENT_ID", ""),
}
)
app.register_blueprint(swaggerui_blueprint)