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

Include better warning message on MSAL Keychain errors #305

Merged
merged 1 commit into from
Mar 10, 2021

Conversation

mjcheetham
Copy link
Collaborator

@mjcheetham mjcheetham commented Mar 10, 2021

Sometimes the login Keychain is not accessible and the MSAL.Extensions library cannot read/write the token cache. The specific error encountered internally is errSecAuthFailed - neither we nor the MSAL team know why this happens sometimes.

Locking and then unlocking the login Keychain manually, or simply restarting the computer appears to fix the problem.

Include the lock+unlock/restart remedy in the warning message on macOS.

Azure PowerShell CLI also hits this problem: Azure/azure-powershell#13714

Sometimes the login Keychain is not accessible and the MSAL.Extensions
library cannot read/write the token cache. The specific error
encountered internally is `errSecAuthFailed` - neither we nor the MSAL
team know why this happens sometimes.

Locking and then unlocking the login Keychain manually, or simply
restarting the computer appears to fix the problem.

Include the lock+unlock/restart remedy in the warning message on macOS.
@mjcheetham mjcheetham merged commit 293204e into git-ecosystem:master Mar 10, 2021
@mjcheetham mjcheetham deleted the osx-msal-restartmsg branch July 26, 2022 13:54
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

Successfully merging this pull request may close these issues.

None yet

2 participants