fix reverse oidc problem
This commit is contained in:
parent
8347ebeea3
commit
53d715994a
@ -5,6 +5,7 @@ import os
|
||||
from flask import Flask, g
|
||||
from flask_oidc import OpenIDConnect
|
||||
import requests
|
||||
form werkzeug.middleware.proxy_fix import ProxyFix
|
||||
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
|
||||
@ -70,5 +71,5 @@ def logout():
|
||||
return 'Hi, you have been logged out! <a href="/">Return</a>'
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(port=8080)
|
||||
app = ProxyFix(app, x_for=1, x_host=1)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user