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

Auth support #12

Open
Kilo59 opened this issue Jun 10, 2022 · 2 comments
Open

Auth support #12

Kilo59 opened this issue Jun 10, 2022 · 2 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Kilo59
Copy link
Owner

Kilo59 commented Jun 10, 2022

Currently, there's no way to Authenticate when using the CLI.

https://www.python-httpx.org/quickstart/#authentication

Add flags and/or .env variable checking to enable this.

@Kilo59
Copy link
Owner Author

Kilo59 commented Jun 11, 2022

addressed by #13

@Kilo59 Kilo59 closed this as completed Jun 11, 2022
@Kilo59
Copy link
Owner Author

Kilo59 commented Jun 20, 2022

When providing an Authorization header, the CLI arg parser splits on whitespace.

-H Authorization:Bearer <TOKEN> fails to be read correctly.

quotes can be used get around arg parsing issue but the string quotes need to be elided during CLI arg parsing.
-H Authorization:'Bearer <TOKEN>'

@Kilo59 Kilo59 reopened this Jun 20, 2022
@Kilo59 Kilo59 added bug Something isn't working good first issue Good for newcomers labels Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant