Merge pull request #1332 from PowerDNS-Admin/revert-1331-patch-4

Revert "enhancement(routes/index.py): OIDC supports HTTP Scheme now"
This commit is contained in:
Matt Scott 2022-12-14 20:38:15 -05:00 committed by GitHub
commit 3a6d173d05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,9 +134,7 @@ def oidc_login():
)
abort(400)
else:
redirect_uri = url_for('oidc_authorized',
**_external=True,
_scheme='https')**
redirect_uri = url_for('oidc_authorized', _external=True)
return oidc.authorize_redirect(redirect_uri)