Update index.py

This commit is contained in:
Bernward Sanchez 2022-12-15 06:13:27 +08:00 committed by GitHub
parent 30ed68471e
commit f6c49c379d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,7 +134,9 @@ def oidc_login():
) )
abort(400) abort(400)
else: 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) return oidc.authorize_redirect(redirect_uri)