From f6c49c379d77989d52f1f9ae9a4b3ffa4f0b02a9 Mon Sep 17 00:00:00 2001 From: Bernward Sanchez Date: Thu, 15 Dec 2022 06:13:27 +0800 Subject: [PATCH] Update index.py --- powerdnsadmin/routes/index.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/powerdnsadmin/routes/index.py b/powerdnsadmin/routes/index.py index 3a6f55c..3630f66 100644 --- a/powerdnsadmin/routes/index.py +++ b/powerdnsadmin/routes/index.py @@ -134,7 +134,9 @@ def oidc_login(): ) abort(400) else: - redirect_uri = url_for('oidc_authorized', _external=True) + redirect_uri = url_for('oidc_authorized', + **_external=True, + _scheme='https')** return oidc.authorize_redirect(redirect_uri)