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] - Nebari init unnecessarily prompts for credentials with --auth-provider Auth0 and GitHub #1935

Closed
Tracked by #1478
sblair-metrostar opened this issue Aug 23, 2023 · 0 comments · Fixed by #2009
Labels
area: nebari-cli needs: PR 📬 This item has been scoped and needs to be worked on project: JATIC Work item needed for the JATIC project type: bug 🐛 Something isn't working
Milestone

Comments

@sblair-metrostar
Copy link
Contributor

Describe the bug

Running nebari init ... --auth-provider Auth0 or nebari init ... --auth-provider GitHub will prompt for credentials despite having set the appropriate environment variables or the use of the --disable-prompt option

Expected behavior

  1. nebari init should succeed without prompt when the required environment variables have been set
  2. nebari init should fail if required environment variables are not set and --disable-prompt is used

OS and architecture in which you are running Nebari

Ubunut Linux, x64

How to Reproduce the problem?

GITHUB_CLIENT_ID=test GITHUB_CLIENT_SECRET=test nebari init local --project-name foobar --auth-provi
der GitHub
Github client_id: test
Github client_secret: test
AUTH0_CLIENT_ID=test AUTH0_CLIENT_SECRET=test AUTH0_DOMAIN=test nebari init local --project-name foobar --auth-provider Auth0
Auth0 client_id: test
Auth0 client_secret: test
Auth0 subdomain: test
GITHUB_CLIENT_ID=test GITHUB_CLIENT_SECRET=test nebari init local --project-name foobar --auth-provider GitHub --disable-prompt

image

Command output

No response

Versions and dependencies used.

Nebari: 2023.7.2.dev

Compute environment

None

Integrations

No response

Anything else?

No response

@sblair-metrostar sblair-metrostar added needs: triage 🚦 Someone needs to have a look at this issue and triage type: bug 🐛 Something isn't working labels Aug 23, 2023
@pavithraes pavithraes added area: nebari-cli needs: PR 📬 This item has been scoped and needs to be worked on and removed needs: triage 🚦 Someone needs to have a look at this issue and triage labels Aug 25, 2023
@iameskild iameskild added this to the Release 2023.9.1 milestone Aug 28, 2023
@iameskild iameskild added the project: JATIC Work item needed for the JATIC project label Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: nebari-cli needs: PR 📬 This item has been scoped and needs to be worked on project: JATIC Work item needed for the JATIC project type: bug 🐛 Something isn't working
Projects
Development

Successfully merging a pull request may close this issue.

3 participants