Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Fix GetValidToken to save refreshed access tokens #1241

Merged
merged 1 commit into from
Oct 4, 2017

Conversation

aeijdenberg
Copy link
Contributor

GetValidToken is called on every request to fetch a non-expired access token,
refreshing if needed, however prior to this change it never saved this token
back to the session, meaning that after an access token expires (typically after 1 hour)
all subsequent requests require a refresh first.

Part 3 of #1234

GetValidToken is called on every request to fetch a non-expired access token,
refreshing if needed, however prior to this change it never saved this token
back to the session, meaning that after an access token expires (typically after 1 hour)
all subsequent requests require refresh first.
Copy link
Contributor

@jcscottiii jcscottiii left a comment

Choose a reason for hiding this comment

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

thanks!

@jcscottiii jcscottiii merged commit 8afdee3 into cloud-gov:master Oct 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants