Skip to content

Commit

Permalink
Merge pull request #318 from aoeah/dev
Browse files Browse the repository at this point in the history
Update UserAgentApplication.ts
  • Loading branch information
nehaagrawal authored Jun 12, 2018
2 parents 2ebeff5 + 436ba35 commit 0808e27
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 @@ -1396,7 +1396,7 @@ protected getCachedTokenInternal(scopes : Array<string> , user: User): CacheResu
if (window.parent !== window && window.parent.msal) {
tokenReceivedCallback = window.parent.callBackMappedToRenewStates[requestInfo.stateResponse];
}
else if (window.opener && window.opener.msal) {
else if (isWindowOpenerMsal) {
tokenReceivedCallback = window.opener.callBackMappedToRenewStates[requestInfo.stateResponse];
}
else {
Expand Down

1 comment on commit 0808e27

@patmigliaccio
Copy link

Choose a reason for hiding this comment

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

I spent quite a bit of time debugging 0.1.5 to discover this same issue that you've resolved. Thanks, appreciate the fix!

Please sign in to comment.