-
Notifications
You must be signed in to change notification settings - Fork 114
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
Support for auth headers #9
Comments
We evaluated to add for auth headers during the |
People trying this tool may use it against Github GrphQL API v4 for a try, which needs an auth header. I think asking whether to set this field on init process is reasonable. And teach user to use ENV after init? |
I was searching for the command line option to set the header, found none and was wondering how one is supposed to use OAuth with this tool. So I googled and ended up here. I understand the reasoning for doing it via the environment variable and it is a good solution but for a newbie it's utterly unintuitive without any pointers whatsoever. One way to improve the situation might be to provide some help page that describes how to do the setup and reference that in the CLI tool. |
Currently, the only endpoint configuration related command is
Or would it be sufficient to ask for headers during |
I think for now the workflow should be centered around the |
Thank you for all the feedback. This is added to the wishlist for v3: #73. |
It would be great if graphql-cli would always use the explicit EndpointExtension config format and not the URL-string one, and also asked for additional information like auth headers during graphql init.
The text was updated successfully, but these errors were encountered: