mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-07-02 04:16:19 +00:00
Merge pull request #1331 from pneb/patch-4
enhancement(routes/index.py): OIDC supports HTTP Scheme now
This commit is contained in:
@ -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)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user