diff --git a/areas/login/login.py b/areas/login/login.py index 2dc9f4a..23314a2 100644 --- a/areas/login/login.py +++ b/areas/login/login.py @@ -245,6 +245,9 @@ def consent(): app_id = consent_client.get('client_id') # False positive: pylint: disable=no-member kratos_id = consent_request.subject + current_app.logger.error(f"Info: Found kratos_id {kratos_id"}) + current_app.logger.error(f"Info: Found app_id {app_id"}) + except Exception as error: current_app.logger.error(f"Error: Unable to extract information from consent request") current_app.logger.error(f"Error: {error}") @@ -253,6 +256,7 @@ def consent(): abort(501, description="Internal error occured") # Get the related user object + current_app.logger.error(f"Info: Getting user from admin {kratos_id}") user = KratosUser(KRATOS_ADMIN, kratos_id) if not user: current_app.logger.error(f"User not found in database: {kratos_id}")