Abhijeet srivastava
Abhijeet srivastava

Reputation: 457

Cookie sent in rediret response are getting ifnored

In login implementation, backend API is redirecting user home page along with setting the session cookie. But when Browser invokes redirect request to home page, this cookie is not getting set-

Request URL: https://dfp.prod.us.abc.net/dfp/v1/login?code=D2AE706EBF9D4A15A23C0B0466D2243B&state=OneTwo
Status code: 302
Response headers:
Location: http://dfp-ui.prod.us.abc.net/
Set-Cookie: session-iam-token=MDUxODMyMDE41AQ71z4bAPXX0bvRUUOqdVIah==; Max-Age=1800; Expires=Tue, 10-Sep-2019 07:25:44 GMT; Domain=dfp-ui.prod.us.abc.net; Path=/

Now when browser redirects to http://dfp-ui.prod.us.abc.net/, this '

session-iam-token

is not getting send.

Upvotes: 0

Views: 22

Answers (0)

Related Questions