From b3184fbff10ec4ee1fefb19a2f729f4ee04871a2 Mon Sep 17 00:00:00 2001 From: iFargle Date: Mon, 20 Feb 2023 14:39:09 +0900 Subject: [PATCH] test --- server.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server.py b/server.py index 3434faa..f474caf 100644 --- a/server.py +++ b/server.py @@ -16,7 +16,9 @@ app = Flask(__name__, static_url_path=STATIC_URL_PATH) LOG = logging.create_logger(app) executor = Executor(app) +######################################################################################## # Set Authentication type: +######################################################################################## if AUTH_TYPE.lower() == "oidc": # https://flask-oidc2.readthedocs.io/en/latest/# # https://gist.github.com/thomasdarimont/1d45dc9aa857b831ff2eff221b79d179a/ @@ -33,7 +35,7 @@ if AUTH_TYPE.lower() == "oidc": { "web": { "issuer": \""""+OIDC_ISSUER+"""", - "auth_uri": \""""+OIDC_ISSUER+"""/api/oidc/auth", + "auth_uri": \""""+OIDC_ISSUER+"""/", "client_id": \""""+OIDC_CLIENT_ID+"""", "client_secret": \""""+OIDC_SECRET+"""", "redirect_uris": [\""""+DOMAIN_NAME+BASE_PATH+"""/oidc_callback"],