Skip to content
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

Merged
merged 15 commits into from Mar 18, 2021

Conversation

oldalton
Copy link
Member

@oldalton oldalton commented Mar 1, 2021

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

  • Feature work
  • Bug fix
  • Documentation
  • Engineering change
  • Test
  • Logging/Telemetry

Risk

  • High – Errors could cause MAJOR regression of many scenarios. (Example: new large features or high level infrastructure changes)
  • Medium – Errors could cause regression of 1 or more scenarios. (Example: somewhat complex bug fixes, small new features)
  • Small – No issues are expected. (Example: Very small bug fixes, string changes, or configuration settings changes)

Additional information

@oldalton oldalton requested a review from a team as a code owner March 1, 2021 19:59
@@ -135,10 +135,6 @@ + (MSALResult *)resultWithMSIDTokenResult:(MSIDTokenResult *)tokenResult
}

NSString *accessToken = [authScheme getClientAccessToken:tokenResult.accessToken popManager:popManager error:error];
Copy link
Contributor

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.
}

Copy link
Member Author

Choose a reason for hiding this comment

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

Addressed, thanks.

Copy link
Contributor

@hieunguyenmsft hieunguyenmsft left a comment

Choose a reason for hiding this comment

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

lgtm

@oldalton oldalton merged commit 622559e into dev Mar 18, 2021
@oldalton oldalton deleted the external-dev branch March 18, 2021 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants