(20250104) Breeze authorization cycle ready for testing on live server.

This commit is contained in:
2025-01-04 16:19:46 +05:30
parent 4fb628eec4
commit e2385c3163
7 changed files with 302 additions and 4 deletions
@@ -224,7 +224,7 @@ class ZerodhaKiteTradingController(TradingController):
# If not such auth token exists:
if not auth_token:
response.message = (
f"No such integration found in our system. "
f"We couldn't find such an integration in our system. "
"Please add this integration first and then try again."
)
return response
@@ -238,8 +238,8 @@ class ZerodhaKiteTradingController(TradingController):
)
zerodha_auth_token = ZerodhaKiteAuthTokens(**session_data)
except Exception as exception:
response.message = f"Client exception: {exception}"
response.exception = exception
response.message = str(exception)
return response
# Ensure that the client user id of the incoming callback and the one given in Zerodha's session data match: