Skip to content

Commit 597b596

Browse files
mattleibowCopilot
andcommitted
Fix iOS keychain config for MSAL token persistence
Align iOS keychain-access-groups entitlement with Mac Catalyst to use com.microsoft.adalcache (MSAL's default shared keychain group). Add WithIosKeychainSecurityGroup to the MSAL builder for iOS and Mac Catalyst so tokens persist correctly across app restarts. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent b1e7606 commit 597b596

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

10.0/MauiBlazorWebEntra/MauiBlazorWebEntra/Platforms/iOS/Entitlements.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<dict>
55
<key>keychain-access-groups</key>
66
<array>
7-
<string>$(AppIdentifierPrefix)$(CFBundleIdentifier)</string>
7+
<string>$(AppIdentifierPrefix)com.microsoft.adalcache</string>
88
</array>
99
</dict>
1010
</plist>

0 commit comments

Comments
 (0)