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 will fail in GitHub CodeSpaces Browser #34

Open
dilin-MS2 opened this issue Mar 7, 2025 · 0 comments
Open

azd auth login will fail in GitHub CodeSpaces Browser #34

dilin-MS2 opened this issue Mar 7, 2025 · 0 comments

Comments

@dilin-MS2
Copy link

dilin-MS2 commented Mar 7, 2025

Describe the bug
Clicking the Open in GitHub Codespaces button will open the sample in GitHub Codespaces in web browser. The README ask us to run azd auth login command in terminal. Running this command in browser will have error:

To Reproduce
Steps to reproduce the behavior:

  1. Go to AI app templates sample page
  2. Click on Open in GitHub Codespaces button. This will open the sample in GitHub Codespaces in web browser.
  3. Run azd auth login command in VS Code terminal.

Image

  1. See error: localhost refused to connect.

Expected behavior
When connect to the GitHub Codespaces via VS Code desktop locally, the azd auth login command can successfully logged in.

Screenshots
Image
hyperlink: http://localhost:42025/?code=xxx&session_state=xxx

Desktop (please complete the following information):

  • OS: Microsoft Windows 11 Enterprise. 10.0.26100 Build 26100
  • Browser Chrome
  • Version [e.g. 22]
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