Skip to content

Commit ef592f0

Browse files
authored
Merge pull request #2125 from AzureAD/release/1.3.2
April Release/1.3.2
2 parents 9d15d79 + 9be5b5f commit ef592f0

File tree

15 files changed

+127
-488
lines changed

15 files changed

+127
-488
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
1+
## [1.3.2]
2+
* Add forceRefresh param to ignore AT in cache and request a new AT.
3+
14
## [1.3.1]
25
* Preferred auth method added to device information, returned from broker
36

47
## [1.3.0]
8+
* Added Native Auth feature to interact with the Microsoft Entra ID services
9+
10+
## [1.2.24]
11+
* Fix pkey auth after server side removal of registration to use isDeviceRegistered flag from ssoContext.
12+
13+
## [1.2.23]
14+
* Fix pkey auth after server side removal of registration
515

616
## [1.2.22]
717
* Add privacy manifest (#1984)

MSAL.podspec

Lines changed: 2 additions & 2 deletions
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.3.1"
3+
s.version = "1.3.2"
44
s.summary = "Microsoft Authentication Library (MSAL) for iOS"
55
s.description = <<-DESC
66
The MSAL library for iOS gives your app the ability to begin using the Microsoft Cloud by supporting Microsoft Azure Active Directory and Microsoft Accounts in a converged experience using industry standard OAuth2 and OpenID Connect. The library also supports Microsoft Azure B2C for those using our hosted identity management service.
@@ -20,7 +20,7 @@ Pod::Spec.new do |s|
2020
:tag => s.version.to_s,
2121
:submodules => true
2222
}
23-
23+
s.resource_bundles = {"MSAL" => ["MSAL/PrivacyInfo.xcprivacy"]}
2424
s.default_subspecs ='app-lib'
2525

2626
s.prefix_header_file = "MSAL/src/MSAL.pch"

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.3.1</string>
18+
<string>1.3.2</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.3.1</string>
18+
<string>1.3.2</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSHumanReadableCopyright</key>

MSAL/src/MSALPublicClientApplication.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -873,8 +873,9 @@ - (void)acquireTokenSilentWithParameters:(MSALSilentTokenParameters *)parameters
873873
msidParams.currentRequestTelemetry.schemaVersion = HTTP_REQUEST_TELEMETRY_SCHEMA_VERSION;
874874
msidParams.currentRequestTelemetry.apiId = [msidParams.telemetryApiId integerValue];
875875
msidParams.currentRequestTelemetry.tokenCacheRefreshType = parameters.forceRefresh ? TokenCacheRefreshTypeForceRefresh : TokenCacheRefreshTypeNoCacheLookupInvolved;
876-
msidParams.allowUsingLocalCachedRtWhenSsoExtFailed = parameters.allowUsingLocalCachedRtWhenSsoExtFailed;
877-
876+
msidParams.allowUsingLocalCachedRtWhenSsoExtFailed = parameters.allowUsingLocalCachedRtWhenSsoExtFailed;
877+
msidParams.forceRefresh = parameters.forceRefresh;
878+
878879
// Nested auth protocol
879880
msidParams.nestedAuthBrokerClientId = self.internalConfig.nestedAuthBrokerClientId;
880881
msidParams.nestedAuthBrokerRedirectUri = self.internalConfig.nestedAuthBrokerRedirectUri;

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 3
30-
#define MSAL_VER_PATCH 1
30+
#define MSAL_VER_PATCH 2
3131

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

MSAL/src/public/MSALPublicClientApplication.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@
420420
representing the TenantID property of the directory)
421421
@param claimsRequest The claims parameter that needs to be sent to token endpoint. When claims
422422
is passed, access token will be skipped and refresh token will be tried.
423-
@param forceRefresh Ignore any existing access token in the cache and force MSAL to
423+
@param forceRefresh Ignore any existing access token in the cache and force MSAL/Broker to
424424
get a new access token from the service.
425425
@param correlationId UUID to correlate this request with the server
426426
@param completionBlock The completion block that will be called when the authentication

MSAL/test/automation/tests/MSALADFSBaseUITest.m

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
// THE SOFTWARE.
2323

2424
#import "MSALADFSBaseUITest.h"
25+
#import "XCUIElement+CrossPlat.h"
2526

2627
@implementation MSALADFSBaseUITest
2728

@@ -46,7 +47,8 @@ - (NSString *)runSharedADFSInteractiveLoginWithRequest:(MSIDAutomationTestReques
4647

4748
sleep(1);
4849
[self aadEnterPassword:self.testApp];
49-
[self acceptMSSTSConsentIfNecessary:@"Accept" embeddedWebView:request.usesEmbeddedWebView];
50+
[self dismissRememberPassword];
51+
[self acceptMSSTSConsentIfNecessary:@"Continue" embeddedWebView:request.usesEmbeddedWebView];
5052

5153
if (!request.usesEmbeddedWebView)
5254
{
@@ -72,4 +74,13 @@ - (void)enterADFSPassword
7274
[passwordTextField typeText:[NSString stringWithFormat:@"%@\n", self.primaryAccount.password]];
7375
}
7476

77+
- (void)dismissRememberPassword
78+
{
79+
if ([self.testApp.scrollViews.otherElements.buttons[@"Not Now"] waitForExistenceWithTimeout:2.0])
80+
{
81+
XCUIElement *notNow = self.testApp.scrollViews.otherElements.buttons[@"Not Now"];
82+
[notNow msidTap];
83+
}
84+
}
85+
7586
@end

MSAL/test/automation/tests/MSALBaseUITest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ - (void)acceptConsentIfNecessary:(XCUIElement *)elementToCheck
167167
int i = 0;
168168

169169
while (i < 20) {
170-
170+
sleep(1);
171171
// If consent button found, tap it and return
172172
if (elementToCheck.exists)
173173
{

0 commit comments

Comments
 (0)