postman-chrome-interceptor icon indicating copy to clipboard operation
postman-chrome-interceptor copied to clipboard

Unable to capture Authentication Cookies.

Open Swapnil-getpostman opened this issue 6 years ago • 3 comments

Describe the bug Unable to capture the authentication cookies in Postman application. [Application is connected to interceptor using the bridge.]

To Reproduce Steps to reproduce the behavior:

  1. Hit an endpoint for example - https://twitter.com (without login) and hit send button. As it will not get the authentication cookies. Reason it's not login to twitter.
  2. Login to your Twitter account. And hit the twitter endpoint again. Now it should get the authentication cookies because there is a successful login to the twitter account. But it's not getting the authentication cookies.

Expected behavior It should store authentication cookies in the postman application.

Swapnil-getpostman avatar Oct 17 '19 12:10 Swapnil-getpostman

@Swapnil-getpostman Is "twitter.com" added to the list of domains to sync cookies for?

abhijitkane avatar Oct 23 '19 08:10 abhijitkane

@abhijitkane Twitter is just an example here. User has added the domain - ibmcloud.com

Swapnil-getpostman avatar Oct 23 '19 09:10 Swapnil-getpostman

From the screen recording on the internal ticket, I see that the authentication cookies are showing up in Postman. There might be another way the server is determining auth status, or there might be a cookie on a root domain.

I'd recommend adding ibmcloud.com to the domain list, instead of a specific subdomain. Also, the user should check if there are any cookies in Chrome that have not been synced to Postman.

abhijitkane avatar Oct 23 '19 09:10 abhijitkane