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

Provide on a per-request basis to set authentication #93

Open
michael-o opened this issue Apr 1, 2021 · 0 comments
Open

Provide on a per-request basis to set authentication #93

michael-o opened this issue Apr 1, 2021 · 0 comments

Comments

@michael-o
Copy link
Contributor

michael-o commented Apr 1, 2021

I am using this module along with pythongssapi/requests-gssapi, unfortunately the module is not threadsafe and I have to perform my requests with a ThreadPoolExecutor. Interleaving threads break requests. My basic code passes auth always to the session request now. Unfortunately, this module does not allow that. Or if you want to use alternative credentials this is not possible.

My request is to pass this through and if auth is None use the one from options/session else this one.

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

1 participant