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 does not work on WSL Ubuntu #2382

Closed
1 task done
ruslany opened this issue Jun 9, 2023 · 1 comment
Closed
1 task done

azd auth login does not work on WSL Ubuntu #2382

ruslany opened this issue Jun 9, 2023 · 1 comment
Assignees
Labels
authn bug Something isn't working

Comments

@ruslany
Copy link

ruslany commented Jun 9, 2023

Output from azd version
azd version 1.0.1 (commit e0cd1ac)

Describe the bug
Getting this error when trying to login:

azd auth login

ERROR: logging in: failed to authenticate: exec: "xdg-open,x-www-browser,www-browser": executable file not found in $PATH

To Reproduce
Steps to reproduce the behavior...

Install azd with this script:
curl -fsSL https://aka.ms/install-azd.sh | bash
run
azd auth login

Expected behavior
Login successful

Environment
Information on your environment:
WSL Ubuntu

Additional context
Add any other context about the problem here.

@ghost ghost added the needs-triage For new issues label Jun 9, 2023
@savannahostrowski savannahostrowski added bug Something isn't working authn and removed needs-triage For new issues labels Jun 9, 2023
@rajeshkamal5050
Copy link
Contributor

@ruslany thanks for reporting this. There is a similar issue #2291. Marking this as a duplicate.

As a workaround you could do azd auth login --use-device-code #2291 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
authn bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants