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

easy way to login from cli. #917

Open
gedw99 opened this issue Aug 20, 2023 · 1 comment
Open

easy way to login from cli. #917

gedw99 opened this issue Aug 20, 2023 · 1 comment

Comments

@gedw99
Copy link

gedw99 commented Aug 20, 2023

for ops etc, it ould be cool is we can pass the user name password to the web gui like this:

open http://localhost:4080?$(ZINC_FIRST_ADMIN_USER):$(ZINC_FIRST_ADMIN_PASSWORD)

Its basically the same as how the swagger api does it.

curl http://localhost:4080/api/_bulk -i -u $(ZINC_FIRST_ADMIN_USER):$(ZINC_FIRST_ADMIN_PASSWORD)  --data-binary "@olympics.ndjson"
@pabloveliz
Copy link

how about ?

open http://$(ZINC_FIRST_ADMIN_USER):$(ZINC_FIRST_ADMIN_PASSWORD)@localhost:4080/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants