Azure / Azure/static-web-apps-cli

deploy authorization doesn't work with Firefox

オープン
#528 コメント 2 件 リアクション 4 件 担当者 1 名 @Reshmi-Sriram が担当を希望しています GitHub で見る
status: investigating type: bug
主要言語
TypeScript
スター
668
フォーク
156
PR マージ指標
30日以内にマージされた PR はありません

説明

**Are you accessing the CLI from the default port `:4280` ?**

- [ ] No, I am using a different port number (`--port`) and accessing the CLI from that port
- [ X] Yes, I am accessing the CLI from port `:4280`

> Make sure you are accessing the URL printed in the console when running `swa start`!

**ℹ️ NOTE: Make sure to enable debug logs when running any `swa` commands using `--verbose=silly`**

**Describe the bug**
When I execute the `deploy` command of the CLI, at some point a browser is opened to authorize me to Azure. This does not work when my default browser is Firefox. WIth Firefox, the only thing that happens, is a new Firefox window is opened on the startup page, and that's it. It does not navigate me to any URL. The CLI hangs with the last output being `
Checking Azure session...`.

When I am using MS Edge as my default browser, everything works properly.

**To Reproduce**
Set Firefox as your default browser
Run `npx @azure/static-web-apps-cli deploy`.

**Expected behavior**
I should be able to authorize to Azure with any modern browser - be it Firefox, Edge, or something else.

**Desktop (please complete the following information):**

- OS: [e.g. iOS] macOS 12.4
- Version [e.g. 22] SWA CLI 1.0.1
- Firefox 101.0.1

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。