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

azd auth login fail after updating to msal 1.0 when doing login for the first time #2258

Closed
vhvb1989 opened this issue May 18, 2023 · 0 comments · Fixed by #2259
Closed

azd auth login fail after updating to msal 1.0 when doing login for the first time #2258

vhvb1989 opened this issue May 18, 2023 · 0 comments · Fixed by #2259

Comments

@vhvb1989
Copy link
Member

vhvb1989 commented May 18, 2023

Error:

ERROR: logging in: failed to authenticate: open ~/.azd/auth/msal/cache.json: no such file or directory

To repro:
Delete folder ~/.azd
Run azd auth login

Tested from Linux so far.

Notes:

  • If cache is previously created with an older version, then login works (when using the same account) and fails if trying to switch to another account.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants