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

Azure Active Directory: Fixes issue with using wrong scope value #1984

Merged
merged 6 commits into from
Nov 5, 2020

Conversation

j82w
Copy link
Contributor

@j82w j82w commented Nov 4, 2020

Pull Request Template

Description

Fixes a bug where the full endpoint is passed instead of endpoint host value. This passes the entire URI to the TokenCredentialCache so it can get the host value to avoid this issue in the future.

Type of change

Please delete options that are not relevant.

  • [] Bug fix (non-breaking change which fixes an issue)
  • [] New feature (non-breaking change which adds functionality)
  • [] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [] This change requires a documentation update

Closing issues

To automatically close an issue: closes #IssueNumber

Copy link
Member

@ealsur ealsur left a comment

Choose a reason for hiding this comment

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

LGTM, only had an extra question

Microsoft.Azure.Cosmos/src/CosmosClient.cs Show resolved Hide resolved
@j82w j82w merged commit fc187c4 into master Nov 5, 2020
@j82w j82w deleted the users/jawilley/aad/endpointHost branch November 5, 2020 19:31
j82w added a commit that referenced this pull request Nov 5, 2020
* Fix endpoint host

* Adds tests

* Adds null checks

* Fixed test
@ghost
Copy link

ghost commented Dec 15, 2021

Closing due to in-activity, pease feel free to re-open.

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.

2 participants