Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't copy auth and refresh tokens unless using SSO #2611

Merged
merged 1 commit into from
Jul 2, 2018

Conversation

nwmac
Copy link
Contributor

@nwmac nwmac commented Jul 2, 2018

Fixes #2579
Copying refresh and auth tokens is problematic - whoever refreshes first stop the other from doing so.

This is a temporary fix to ensure when not using SSO, we do not copy tokens, but get a fresh token for the endpoint.

@cfdreddbot
Copy link

Hey nwmac!

Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA.

@nwmac nwmac self-assigned this Jul 2, 2018
@nwmac nwmac requested a review from irfanhabib July 2, 2018 15:39
@codecov
Copy link

codecov bot commented Jul 2, 2018

Codecov Report

Merging #2611 into v2-master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           v2-master    #2611   +/-   ##
==========================================
  Coverage      70.02%   70.02%           
==========================================
  Files            595      595           
  Lines          25215    25215           
  Branches        5694     5694           
==========================================
  Hits           17657    17657           
  Misses          7558     7558

Copy link
Contributor

@irfanhabib irfanhabib left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@irfanhabib irfanhabib merged commit 4b2f0f0 into v2-master Jul 2, 2018
@irfanhabib irfanhabib deleted the fix-token-refresh-sso branch July 2, 2018 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Endpoint disconnect ("We've been having trouble communicating with Cloud Foundry")
3 participants