Skip to content

Commit 49949c4

Browse files
authored
Merge pull request #840 from AzureAD/hotfix/1.0.7
Merge hotfix 1.0.7 into master of MSAL
2 parents 1c88515 + f07a745 commit 49949c4

File tree

8 files changed

+20
-6
lines changed

8 files changed

+20
-6
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [1.0.7] - 2020-01-29
2+
### Fixed
3+
- Keyed unarchiver deserialization fix for iOS 11.2
4+
- [Broker patch] Fixed account lookups and validation with the same email (#827)
5+
16
## [1.0.6] - 2020-01-03
27
### Fixed
38
- Set mobile content type for the WKWebView configuration (#810)
@@ -35,6 +40,14 @@
3540
- Remove arm64e architecture
3641
- Pass custom keychain group for broker requests
3742

43+
# [1.0.0-hotfix2] - 2020-01-27
44+
### Fixed
45+
- [Broker patch] Keyed unarchiver deserialization fix for iOS 11.2
46+
47+
# [1.0.0-hotfix1] - 2020-01-21
48+
### Fixed
49+
- [Broker patch] Fixed account lookups and validation with the same email (#827)
50+
3851
## [1.0.0] - 2019-09-26
3952
### Fixed
4053
- Return type of the account claims

MSAL.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "MSAL"
3-
s.version = "1.0.6"
3+
s.version = "1.0.7"
44
s.summary = "Microsoft Authentication Library (MSAL) Preview for iOS"
55

66
s.description = <<-DESC

MSAL/resources/ios/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.0.6</string>
18+
<string>1.0.7</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSPrincipalClass</key>

MSAL/resources/mac/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.0.6</string>
18+
<string>1.0.7</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSHumanReadableCopyright</key>

MSAL/src/MSALPublicClientApplication.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -916,6 +916,7 @@ - (void)acquireTokenWithParameters:(MSALInteractiveTokenParameters *)parameters
916916
msidParams.tokenExpirationBuffer = self.internalConfig.tokenExpirationBuffer;
917917
msidParams.extendedLifetimeEnabled = self.internalConfig.extendedLifetimeEnabled;
918918
msidParams.clientCapabilities = self.internalConfig.clientApplicationCapabilities;
919+
msidParams.shouldValidateResultAccount = YES;
919920

920921
msidParams.validateAuthority = _validateAuthority;
921922
msidParams.instanceAware = self.internalConfig.multipleCloudsSupported;

MSAL/src/MSAL_Internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
#define MSAL_VER_HIGH 1
2929
#define MSAL_VER_LOW 0
30-
#define MSAL_VER_PATCH 6
30+
#define MSAL_VER_PATCH 7
3131

3232
#define STR_HELPER(x) #x
3333
#define STR(x) STR_HELPER(x)

MSAL/test/unit/MSALPublicClientApplicationTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2301,7 +2301,7 @@ - (void)testRemoveAccount_whenAccountExists_andIsFociClient_shouldRemoveAccount_
23012301
XCTAssertEqual([application allAccounts:nil].count, 0);
23022302

23032303
// 5. Make sure account and FOCI tokens are still in cache
2304-
MSIDAccount *cachedAccount = [self.tokenCacheAccessor getAccountForIdentifier:account.accountIdentifier authority:authority context:nil error:nil];
2304+
MSIDAccount *cachedAccount = [self.tokenCacheAccessor getAccountForIdentifier:account.accountIdentifier authority:authority realmHint:nil context:nil error:nil];
23052305
XCTAssertNotNil(cachedAccount);
23062306

23072307
MSIDRefreshToken *fociToken = [self.tokenCacheAccessor getRefreshTokenWithAccount:account.accountIdentifier familyId:@"1" configuration:configuration context:nil error:nil];

0 commit comments

Comments
 (0)