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

Cannot authenticate in devcontainer via azd auth login #18

Closed
iMicknl opened this issue Dec 28, 2023 · 1 comment
Closed

Cannot authenticate in devcontainer via azd auth login #18

iMicknl opened this issue Dec 28, 2023 · 1 comment

Comments

@iMicknl
Copy link

iMicknl commented Dec 28, 2023

By default, azd auth login tries to redirect back to localhost port 45709, however this one isn't opened in the devcontainer.

image

After adding manually 45709 as a port, it works.

image

Am I the only one facing this? Otherwise maybe good to add this port to our devcontainer.

@azureholic
Copy link
Collaborator

azureholic commented Dec 28, 2023

Try removing the HTTPS policy in Edge

Azure/azure-cli#10426

worked for me with AZD as well (not related to devcontainer, but on my local machine)

@iMicknl iMicknl closed this as completed Jan 12, 2024
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

2 participants