Bug: Angular HttpClient Fails to Parse OTP Response
Closed this issue · 0 comments
Is your feature request related to a problem? Please describe.
The Angular HttpClient currently fails to parse the OTP response correctly when it is returned as plain text. This leads to parsing errors and affects the functionality of handling OTP responses in our application.
Describe the solution you'd like
I would like to modify the OTP response to be returned as JSON format instead of plain text.
Describe alternatives you've considered
One alternative considered was to continue using plain text but with additional parsing logic on the client-side. However, this approach adds complexity and potential maintenance issues compared to directly returning JSON.
Additional context
This issue impacts the user experience by hindering the accurate processing of OTP responses in our Angular application. By implementing this change, we aim to improve the reliability and efficiency of OTP handling.