You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you look at the initializeECDHTunnel in the interceptor:
Respbody := utils.ReadResponseBody(resp.Body)
data := map[string]interface{}{}
err = json.Unmarshal(Respbody, &data)
if err != nil {
reject.Invoke(js.Global().Get("Error").New("The data received from the proxy could not be unmarshalled: ", err.Error()))
EncryptedTunnelFlag = false
return
}
UpJWT = data["up-JWT"].(string)
server_pubKeyECDH, err := utils.JWKFromMap(data)
if err != nil {
reject.Invoke(js.Global().Get("Error").New(err.Error()))
EncryptedTunnelFlag = false
return
}
We weren't able to but the up-JWT in the headers....
To recreate the issue, try adding extra headers to the request coming from the Middleware on it's return trip to the Interceptor. The header is missing.
See the discussion by @huzaifamk on June 5, 2024 on Discord regarding this issue. I too have face the issue.
The text was updated successfully, but these errors were encountered: