Skip to content

Commit

Permalink
Identity cherry-pick InteractiveBrowserCredential fix for 1.2.2 hotfix (
Browse files Browse the repository at this point in the history
#14412)

* Identity fix regression in InteractiveBrowserCredential from invalid redirectUrl (#14393)

* Azure.Identity update CHANGELOG.md for 1.2.2 release

* updating version
  • Loading branch information
schaabs authored Aug 20, 2020
1 parent 4a5737f commit 023988d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion sdk/identity/Azure.Identity/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# Release History

## 1.2.2 (2020-08-20)

### Fixes and improvements
- Fixed issue with `InteractiveBrowserCredential` not specifying correct redirectUrl (Issue [#13940](https://github.com/Azure/azure-sdk-for-net/issues/13940))

## 1.2.1 (2020-08-18)

### Fixed
### Fixes and improvements
- Bug in TaskExtensions.EnsureCompleted method that causes it to unconditionally throw an exception in the environments with synchronization context

## 1.2.0 (2020-08-10)
Expand Down
2 changes: 1 addition & 1 deletion sdk/identity/Azure.Identity/src/Azure.Identity.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<Description>This is the implementation of the Azure SDK Client Library for Azure Identity</Description>
<AssemblyTitle>Microsoft Azure.Identity Component</AssemblyTitle>
<Version>1.2.1</Version>
<Version>1.2.2</Version>
<ApiCompatVersion>1.1.1</ApiCompatVersion>
<PackageTags>Microsoft Azure Identity;$(PackageCommonTags)</PackageTags>
<TargetFrameworks>$(RequiredTargetFrameworks)</TargetFrameworks>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ internal InteractiveBrowserCredential(string tenantId, string clientId, TokenCre

_pipeline = pipeline ?? CredentialPipeline.GetInstance(options);

_client = client ?? new MsalPublicClient(_pipeline, tenantId, clientId, null, options as ITokenCacheOptions);
_client = client ?? new MsalPublicClient(_pipeline, tenantId, clientId, "http://localhost", options as ITokenCacheOptions);
}

/// <summary>
Expand Down

0 comments on commit 023988d

Please sign in to comment.