Skip to content

Commit 50f3c1a

Browse files
committed
Fix issue with legacy keychain on macOS.
1 parent 5ead676 commit 50f3c1a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

IdentityCore/src/cache/mac/MSIDMacKeychainTokenCache.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,14 +557,15 @@ - (BOOL)removeAccountsWithKey:(MSIDCacheKey *)key
557557

558558
- (NSArray<MSIDJsonObject *> *)jsonObjectsWithKey:(__unused MSIDCacheKey *)key serializer:(__unused id<MSIDExtendedCacheItemSerializing>)serializer context:(id<MSIDRequestContext>)context error:(NSError *__autoreleasing *)error
559559
{
560-
[self createUnimplementedError:error context:context];
560+
MSID_LOG_WITH_CTX(MSIDLogLevelInfo, context, @"Skipping jsonObjectsWithKey:serializer:context:error: in MSIDMacKeychainTokenCache.");
561561
return nil;
562562
}
563563

564564

565565
- (BOOL)saveJsonObject:(__unused MSIDJsonObject *)jsonObject serializer:(__unused id<MSIDExtendedCacheItemSerializing>)serializer key:(__unused MSIDCacheKey *)key context:(id<MSIDRequestContext>)context error:(NSError *__autoreleasing *)error
566566
{
567-
[self createUnimplementedError:error context:context];
567+
MSID_LOG_WITH_CTX(MSIDLogLevelInfo, context, @"Skipping saveJsonObject:serializer:key:context:error: in MSIDMacKeychainTokenCache.");
568+
568569
return NO;
569570
}
570571

changelog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
Version 1.15.3
2+
* Fix issue with legacy keychain on macOS.
3+
14
Version 1.15.2
25
* Feature flag gating STK querying and getting rid of category for its setter. (#1586)
36

0 commit comments

Comments
 (0)