Revert "enhancement(routes/index.py): OIDC supports HTTP Scheme now"

This commit is contained in:
Matt Scott 2022-12-14 20:37:30 -05:00 committed by GitHub
parent 96a88d918c
commit 89f3d4d01a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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