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)