Merge pull request #1331 from pneb/patch-4

enhancement(routes/index.py): OIDC supports HTTP Scheme now
This commit is contained in:
Matt Scott 2022-12-14 19:01:27 -05:00 committed by GitHub
commit 96a88d918c
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)