quarto-dev / quarto-cli

Open-source scientific and technical publishing system built on Pandoc.
https://quarto.org
Other
3.99k stars 328 forks source link

Quarto does not remember authentication on Linux #9878

Open cbrnr opened 5 months ago

cbrnr commented 5 months ago

Bug description

Whenever I want to publish a new document to Netlify on Linux, the quarto publish command always prompts me to authenticate on the Netlify website. On macOS (and presumably on Windows), authentication has to be done only once, so I assume that this should be the intended behavior. I didn't try any other providers.

Steps to reproduce

Run quarto publish netlify test.qmd always results in the authorize prompt. Even if I select Y, authorize, and publish the document successfully, I get prompted the next time I try to publish (which includes just updating an existing document).

Expected behavior

Authorization should be required only once.

Actual behavior

Authorization is required on every publish.

Your environment

Quarto check output

Quarto 1.4.555
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.11: OK
      Dart Sass version 1.69.5: OK
      Deno version 1.37.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.4.555
      Path: /opt/quarto/bin

[✓] Checking tools....................OK
      TinyTeX: (not installed)
      Chromium: (not installed)

[✓] Checking LaTeX....................OK
      Using: Installation From Path
      Path: /usr/bin
      Version: undefined

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.10.14
      Path: /home/clemens/.pyenv/versions/psychopy/bin/python3
      Jupyter: (None)

      Jupyter is not available in this Python installation.
      Install with python3 -m pip install jupyter

[✓] Checking R installation...........OK
      Version: 4.4.0
      Path: /usr/lib64/R
      LibPaths:
        - /home/clemens/.R/4.4
        - /usr/lib/R/library
      knitr: 1.46
      rmarkdown: 2.26

[✓] Checking Knitr engine render......OK
cbrnr commented 1 month ago

This issue still exists with Quarto 1.5.57. Is there anything I can do to help you debug it?