oidc
This commit is contained in:
@ -2,7 +2,7 @@ steps:
|
|||||||
build:
|
build:
|
||||||
image: plugins/kaniko
|
image: plugins/kaniko
|
||||||
settings:
|
settings:
|
||||||
repo: gitea.hottis.de/wn/oidc-python-example
|
repo: gitea.hottis.de/moerp/elo-rezept-rechner
|
||||||
registry:
|
registry:
|
||||||
from_secret: container_registry
|
from_secret: container_registry
|
||||||
tags: latest,${CI_COMMIT_SHA},${CI_COMMIT_TAG}
|
tags: latest,${CI_COMMIT_SHA},${CI_COMMIT_TAG}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
"client_id": "nutri",
|
"client_id": "nutri",
|
||||||
"client_secret": "%CLIENT_SECRET%",
|
"client_secret": "%CLIENT_SECRET%",
|
||||||
"redirect_uris": [
|
"redirect_uris": [
|
||||||
"http://localhost:8080/*"
|
"https://nutri.hottis.de/*"
|
||||||
],
|
],
|
||||||
"userinfo_uri": "https://auth2.hottis.de/realms/hottis/protocol/openid-connect/userinfo",
|
"userinfo_uri": "https://auth2.hottis.de/realms/hottis/protocol/openid-connect/userinfo",
|
||||||
"token_uri": "https://auth2.hottis.de/realms/hottis/protocol/openid-connect/token"
|
"token_uri": "https://auth2.hottis.de/realms/hottis/protocol/openid-connect/token"
|
||||||
|
@ -169,9 +169,8 @@ def nutrition():
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
app = ProxyFix(app, x_for=1, x_host=1)
|
||||||
if __name__ == '__main__':
|
|
||||||
#init_db()
|
|
||||||
app.run(debug=True)
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user