Hi, I try to integrate a IAM API, we use browser login flow type, the IAM server return a Flow id to get information required to build the login form. Decoding the Ok response is perfectly fine, but if a delay occurs between the flow id request and the call the next API, the flow can be gone, so the API response if a 410, but with a JSON body containing useful information to handle user redirect…
The problem, my Msg LoginFlow (Result Http.Error LoginFlow)
receive a NetworkError
when handling the 410 request and my decoder are not used and the response body unavailable.
How to solve my current situation ? Thanks a lots for your help.