This commit is contained in:
2024-01-30 12:27:28 +01:00
parent 3c8d842e3b
commit 24ac825ed7
3 changed files with 5 additions and 6 deletions

View File

@ -2,7 +2,7 @@ steps:
build:
image: plugins/kaniko
settings:
repo: gitea.hottis.de/wn/oidc-python-example
repo: gitea.hottis.de/moerp/elo-rezept-rechner
registry:
from_secret: container_registry
tags: latest,${CI_COMMIT_SHA},${CI_COMMIT_TAG}

View File

@ -5,7 +5,7 @@
"client_id": "nutri",
"client_secret": "%CLIENT_SECRET%",
"redirect_uris": [
"http://localhost:8080/*"
"https://nutri.hottis.de/*"
],
"userinfo_uri": "https://auth2.hottis.de/realms/hottis/protocol/openid-connect/userinfo",
"token_uri": "https://auth2.hottis.de/realms/hottis/protocol/openid-connect/token"

View File

@ -169,9 +169,8 @@ def nutrition():
if __name__ == '__main__':
#init_db()
app.run(debug=True)
app = ProxyFix(app, x_for=1, x_host=1)