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
Merging #1253 (Remove check if access_token is not returned for id_token only scenarios) #1256
Conversation
Remove check if access_token is not returned for id_token only scenarios
MSAL/src/MSALResult.m
Outdated
@@ -135,10 +135,6 @@ + (MSALResult *)resultWithMSIDTokenResult:(MSIDTokenResult *)tokenResult | |||
} | |||
|
|||
NSString *accessToken = [authScheme getClientAccessToken:tokenResult.accessToken popManager:popManager error:error]; |
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.
To really distinguish the case no accessToken vs parsing accessToken error here, I think we should change to:
if (tokenResult.accessToken is not empty)
{
// parsing access token
} else {
// move on to the next step.
}
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.
Addressed, thanks.
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.
lgtm
Proposed changes
Merging a PR from an external contributor: #1253
The PR Azure Pipelines checks are not working for forked repos, so opening a new PR to get PR checks completed.
Type of change
Risk
Additional information