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
I'm trying to intercept and proxy traffic coming from a webview on a specific host. My main goal is to append a custom header to every request coming from the webview.
What I'm observing is that in the first request the token is appended correctly. Now on the weview I tap a normal link, the header doesn't get sent along the request.
However since the user is now not authenticated a redirect happens and in this request for the new page the header value is appended twice separated by a comma.
Started GET "/account"
"auth_token"=>"mytoken"
Completed 200 OK in 1305ms (Views: 1244.8ms | ActiveRecord: 39.3ms)
...
Started GET "/account/edit"
*no auth token sent*
Completed 401 Unauthorized in 4ms
...
Started GET "/account/sign_in"
"auth_token"=>"mytoken,mytoken"
Completed 200 OK in 80ms (Views: 72.5ms | ActiveRecord: 0.0ms)
The text was updated successfully, but these errors were encountered:
I'm trying to intercept and proxy traffic coming from a webview on a specific host. My main goal is to append a custom header to every request coming from the webview.
What I'm observing is that in the first request the token is appended correctly. Now on the weview I tap a normal link, the header doesn't get sent along the request.
However since the user is now not authenticated a redirect happens and in this request for the new page the header value is appended twice separated by a comma.
The text was updated successfully, but these errors were encountered: