This commit is contained in:
Philipp Rothmann 2022-03-06 15:29:37 +01:00
parent a113ffdfda
commit 8fb2a4f7b7

View file

@ -30,11 +30,6 @@ async def root():
return {'message': 'Hello World'} return {'message': 'Hello World'}
# @app.post("/authentik/hook/")
# async def hook(r: Request):
# logging.info(await r.json())
# return 200
@app.post("/authentik/hook/") @app.post("/authentik/hook/")
async def hook(model: Hook_Model, http_request: Http_request): async def hook(model: Hook_Model, http_request: Http_request):
# print(await request.body()) # print(await request.body())