# Cookies not being saved after OAuth2 authentication

**URL:** <https://community.postman.com/t/cookies-not-being-saved-after-oauth2-authentication/19804>\
**Category:** Help Hub\
**Tags:** authentication, cookies\
**Created:** [February 1, 2021, 2:37pm UTC](https://community.postman.com/t/cookies-not-being-saved-after-oauth2-authentication/19804 "2021-02-01T14:37:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![psavage\_jtv](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@psavage\_jtv](https://community.postman.com/u/psavage_jtv)\
**Post date:** [February 1, 2021, 2:37pm UTC](https://community.postman.com/t/cookies-not-being-saved-after-oauth2-authentication/19804/1 "2021-02-01T14:37:24Z")

</div>

Hello,

I recently updated my desktop client to version 8.0.3 from 7.36.0.

When I was using version 7.36.0, cookies would be saved after receiving an access token from the IPD we use for authentication using OAuth 2.0. There would be numerous time where I would need to change the user login for separate testing. So I would open up the cookies manager and delete the authentication cookies so I can get a new access token using the new user account.

However, I’m not seeing any cookies being saved after I authenticate using version 8.0.3. I open up the cookies manager and nothing would be there. The only way I can clear everything is to stop the client and restart it again, then I would be able to receive an access token using the new user account. Otherwise it just refreshes the access token for the current user account.

Is there a way for Postman to save these authentication cookies in this new version? If so, how do I set it up, because I’m not seeing anything in the settings that seems to be related to authentication cookies.

Thanks

---

<div class="post-metadata">

**Author:** ![alexayers](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@alexayers](https://community.postman.com/u/alexayers)\
**Post date:** [February 3, 2021, 1:50pm UTC](https://community.postman.com/t/cookies-not-being-saved-after-oauth2-authentication/19804/2 "2021-02-03T13:50:46Z")

</div>

I’m just chiming to say I’m seeing exactly the same issue after upgrading to Postman 8.x.

---

<div class="post-metadata">

**Author:** ![psavage\_jtv](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@psavage\_jtv](https://community.postman.com/u/psavage_jtv)\
**Post date:** [February 3, 2021, 4:42pm UTC](https://community.postman.com/t/cookies-not-being-saved-after-oauth2-authentication/19804/3 "2021-02-03T16:42:01Z")

</div>

I added a comment to an issue submitted yesterday regarding OAuth authentication and cookies.

> <https://github.com/postmanlabs/postman-app-support/issues/9532>
>
> Description
> If I want to test an OAuth2 authorization flow, I cannot reproduce everything without restarting Postman, because I cannot delete all...

---

<div class="post-metadata">

**Author:** ![appurva21](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/appurva21/32/34560_2.png) [@appurva21](https://community.postman.com/u/appurva21)\
**Post date:** [February 9, 2021, 1:05pm UTC](https://community.postman.com/t/cookies-not-being-saved-after-oauth2-authentication/19804/4 "2021-02-09T13:05:04Z")

</div>

Hey @psavage_jtv @alexayers!

We have fixed this issue with the latest release of Postman App (`v8.0.5`). Please checkout this [comment](https://github.com/postmanlabs/postman-app-support/issues/9532#issuecomment-775914789) on the related Github [issue](https://github.com/postmanlabs/postman-app-support/issues/9532) for more information 🙂

---

<div class="post-metadata">

**Author:** ![psavage\_jtv](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@psavage\_jtv](https://community.postman.com/u/psavage_jtv)\
**Post date:** [February 9, 2021, 3:00pm UTC](https://community.postman.com/t/cookies-not-being-saved-after-oauth2-authentication/19804/5 "2021-02-09T15:00:52Z")

</div>

Thank you! The fix worked like a champ. I’ve also marked your comment as the solution.

---

<div class="post-metadata">

**Author:** ![rvijayn0310](https://avatars.discourse-cdn.com/v4/letter/r/ecb155/32.png) [@rvijayn0310](https://community.postman.com/u/rvijayn0310)\
**Post date:** [February 10, 2021, 8:10pm UTC](https://community.postman.com/t/cookies-not-being-saved-after-oauth2-authentication/19804/6 "2021-02-10T20:10:31Z")

</div>

Hello @appurva21 , I do see an issue in clearing session cookies using postman version 8.03. I tried upgrading to 8.0.5, but still it is not clearing the session cookies. Pls note the previous version of postman works. Scripts started failing after updating the version to 8.0.3. Appreciate your help & response.

---

<div class="post-metadata">

**Author:** ![andreas.adelino](https://avatars.discourse-cdn.com/v4/letter/a/e495f1/32.png) [@andreas.adelino](https://community.postman.com/u/andreas.adelino)\
**Post date:** [February 10, 2021, 9:07pm UTC](https://community.postman.com/t/cookies-not-being-saved-after-oauth2-authentication/19804/7 "2021-02-10T21:07:40Z")

</div>

I’m facing the problem exactly as described by @psavage_jtv in the question title “Cookies not being saved after OAuth2 authentication”.

After update my Postman to v8.0.5 I tried to send a saved request in a previous version ( v7.36.4) just after authenticate using OAuth2, but haven’t success. Even clearing the cookies in the new button “Clear cookies” and reauthenticating, I noted that some cookies are not being saved so the request fails.

---

<div class="post-metadata">

**Author:** ![psavage\_jtv](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@psavage\_jtv](https://community.postman.com/u/psavage_jtv)\
**Post date:** [February 18, 2021, 7:55pm UTC](https://community.postman.com/t/cookies-not-being-saved-after-oauth2-authentication/19804/8 "2021-02-18T19:55:08Z")

</div>

@andreas.adelino I’ve noticed that the cookies are now showing up in the cookie jar manager after updating to 8.0.6 today. Try updating to that version and see if that helps with your issue.
