llama-index-javascript
llama-index-javascript copied to clipboard
`azd auth login` will fail in GitHub CodeSpaces Browser
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:
- Go to AI app templates sample page
- Click on
Open in GitHub Codespacesbutton. This will open the sample in GitHub Codespaces in web browser. - Run
azd auth logincommand in VS Code terminal.
- 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
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]