Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Handle token refresh in Azure Stack (ADFS 2016) #105

Merged
merged 4 commits into from
Aug 26, 2017

Conversation

yugangw-msft
Copy link
Contributor

@rayluo, I will add you to a mail thread with more details
For context, Azure Stack environment uses ADFS 2016. When use MRRT (multi resource refresh token) to get an access token for other resources, server doesn't include resource in the response payload because it doesn't return a new refresh token. Note, AAD always returns a new refresh token. The consequence is pretty severe, as resource is part of the token cache key, and not updating it will corrupt the whole cache.
The change is pretty safe. If you are fine with the option, I will go ahead and add a few test coverage.

@yugangw-msft
Copy link
Contributor Author

@rayluo, test was added. Please review
//cc: @viananth @bganapa @mayurid

@viananth
Copy link

@rayluo, could you please review this? This is a blocking scenario for Azure Stack

@rayluo rayluo merged commit 51bfb2c into AzureAD:dev Aug 26, 2017
@rayluo
Copy link
Collaborator

rayluo commented Aug 26, 2017

Thanks for contributing to identify and resolve this bug. Merged. A new release is coming soon.

@rayluo rayluo mentioned this pull request Aug 28, 2017
@rayluo
Copy link
Collaborator

rayluo commented Aug 28, 2017

@viananth @bganapa @yugangw-msft FYI: ADAL Python 0.4.7 has been released. As usual, you can get it by pip install adal

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants