-
Notifications
You must be signed in to change notification settings - Fork 331
Closed
Description
In case you get a redirect , the cookie recieved from the first result should be passed the following ones.
By now they are getting lost.
The usecase I encountered:
- POST to a login api , the api response provides a cookie
- following the redirect issues a second call (get or post based on config) but the recieved cookie is not passed to this second call.
- the redirect call recieves a new cookie which is not valid anymore
A possible workaround is to read the cookies from the first call issued and passing it to the next ones manually.
I suspect we should copy the cookies recieved from the response to the next request here:
| .apply(request.copy[Identity, T, R](uri = uri)) |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels