-
Notifications
You must be signed in to change notification settings - Fork 36
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
Setting the correlation id for token request command #2413
base: dev
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -857,6 +857,7 @@ protected TokenResult performSilentTokenRequest( | |
((MicrosoftTokenRequest) refreshTokenRequest).setClaims(parameters.getClaimsRequestJson()); | ||
((MicrosoftTokenRequest) refreshTokenRequest).setClientAppName(parameters.getApplicationName()); | ||
((MicrosoftTokenRequest) refreshTokenRequest).setClientAppVersion(parameters.getApplicationVersion()); | ||
((MicrosoftTokenRequest) refreshTokenRequest).setClientAppVersion(parameters.getCorrelationId()); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are we setting correlation id as client app version? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's a mistake, let me update this as Saurabh is OOO. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updated. @shahzaibj please re-review. Specifically:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @SaurabhMSFT did you test this? In my tests the request is not an instance of |
||
|
||
//NOTE: this should be moved to the strategy; however requires a larger refactor | ||
if (parameters.getSdkType() == SdkType.ADAL) { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SammyO @shahzaibj @fadidurah Discussion from the old PR in below screenshot.
