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

[BUG] Cant find auth using stackqljs via deno #342

Open
yunchengyang515 opened this issue Dec 10, 2023 · 0 comments
Open

[BUG] Cant find auth using stackqljs via deno #342

yunchengyang515 opened this issue Dec 10, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@yunchengyang515
Copy link
Contributor

Describe the bug
cannot find AUTH context for provider = 'github' when running GitHub Query
When running with Deno

To Reproduce
Steps to reproduce the behavior:

  • Run stackql server mode locally
    export STACKQL_GITHUB_USERNAME="test"
    export STACKQL_GITHUB_PASSWORD="test"
new Deno.Command("stackql", {
    args: [
      "srv",
      "--pgsrv.address=0.0.0.0",
      `--pgsrv.port=${port}`,
    ],
    stdout: "inherit",
    stderr: "inherit",
  });
  • Run query SELECT id, name from github.repos.repos where org='stackql'

Expected behavior
Show public repo

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: MacOS
  • Browser [e.g. chrome, safari]
  • Version: v0.5.408

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.
The same query works with stackql exec without setting the env vars

@yunchengyang515 yunchengyang515 added the bug Something isn't working label Dec 10, 2023
@jeffreyaven jeffreyaven changed the title [BUG] [BUG] Cant find auth using stackqljs via deno Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant