-
Notifications
You must be signed in to change notification settings - Fork 381
Description
Library version used
4.77.1
.NET version
10.0.0-rc.1.25451.107
Scenario
PublicClient - mobile app
Is this a new or an existing app?
This is a new app or experiment
Issue description and reproduction steps
After, I think, this change in macios: dotnet/macios@af99cee Simulator builds are signed with AdHoc certificate. As a result AppIdentifierPrefix became empty and default security group is just bundleId (without TeamId). GetTeamId is returning com as TeamId which resulting in this exception:
Microsoft.Identity.Client.MsalClientException: 'The application does not have keychain access groups enabled in the Entitlements.plist. As a result, there was a failure to save to the iOS keychain. The keychain access group 'com.com.company.app' is not enabled in the Entitlements.plist. Also, use the WithIosKeychainSecurityGroup api to set the keychain access group. See https://aka.ms/msal-net-enable-keychain-groups for more details on enabling keychain access groups and entitlements.'
Relevant code snippets
Expected behavior
Library should handle Simulator builds.
Identity provider
Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)
Regression
No response
Solution and workarounds
None