pascalvanderheiden / ais-apim-openai

Unleash the power of Azure OpenAI to your application developers in a secure & manageable way with Azure API Management and Azure Developer CLI.
MIT License
33 stars 9 forks source link

Cannot authenticate in devcontainer via `azd auth login` #18

Closed iMicknl closed 10 months ago

iMicknl commented 11 months ago

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 commented 11 months ago

Try removing the HTTPS policy in Edge

https://github.com/Azure/azure-cli/issues/10426

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