Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solved: The application does not have keychain access groups enabled in the Entitlements.plist #5

Open
biapar opened this issue May 27, 2020 · 1 comment

Comments

@biapar
Copy link
Collaborator

biapar commented May 27, 2020

2020-05-27 12:34:10.774729+0200 TPCWare.AuthDemo.iOS[6353:165688] 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 'XYZ.com.microsoft.adalcache' 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.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>keychain-access-groups</key>
	<array>
		<string>$(AppIdentifierPrefix)com.tpcware.authdemo</string>
		<string>$(AppIdentifierPrefix)com.microsoft.adalcache</string>
	</array>
</dict>
</plist>

@biapar
Copy link
Collaborator Author

biapar commented May 27, 2020

Maybe solved.

  • Clean the solution
  • iOS target SDK iOS13 ( the solution has 8 )

Now I'm able to see and read scope and token from AD2BC.
I try to read data from Facebook Profile.
Simulator Screen Shot - iPhone 11 - 2020-05-27 at 12 47 16

@biapar biapar changed the title Error: The application does not have keychain access groups enabled in the Entitlements.plist Solved: The application does not have keychain access groups enabled in the Entitlements.plist May 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant