diff --git a/keycloak_collective_portal.py b/keycloak_collective_portal.py index f993a6d..dca90fb 100644 --- a/keycloak_collective_portal.py +++ b/keycloak_collective_portal.py @@ -48,7 +48,7 @@ async def login_keycloak(request: Request): @app.get("/auth") async def auth(request: Request): try: - token = await oauth.keycloak.authorize_access_token(request) + token = await oauth.keycloak.authorize_access_token() except OAuthError as error: return HTMLResponse(f"

{error.error}

") user = await oauth.keycloak.parse_id_token(request, token)