Skip to content

Commit

Permalink
Merge pull request #323 from iamdavidfrancis/dev
Browse files Browse the repository at this point in the history
Call ResolveEndpointsAsync on correct authority in acquireTokenSilent
  • Loading branch information
nehaagrawal authored Jun 8, 2018
2 parents 84278c4 + 4cdf46b commit 2ebeff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UserAgentApplication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@ protected getCachedTokenInternal(scopes : Array<string> , user: User): CacheResu
this._logger.verbose("Token is not in cache for scope:" + scope);
}
// cache miss
return this.authorityInstance.ResolveEndpointsAsync()
return newAuthority.ResolveEndpointsAsync()
.then(() => {
// refresh attept with iframe
//Already renewing for this scope, callback when we get the token.
Expand Down

0 comments on commit 2ebeff5

Please sign in to comment.