-
Notifications
You must be signed in to change notification settings - Fork 304
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
adds GatewayClient.auth_scheme
configurable
#529
adds GatewayClient.auth_scheme
configurable
#529
Conversation
Thanks for submitting your first pull request! You are awesome! 🤗 |
acf1663
to
e135fd6
Compare
Codecov Report
@@ Coverage Diff @@
## master #529 +/- ##
=========================================
Coverage ? 76.30%
=========================================
Files ? 110
Lines ? 9814
Branches ? 1067
=========================================
Hits ? 7489
Misses ? 1944
Partials ? 381
Continue to review full report at Codecov.
|
Hi @telamonian - thank you for this pull request - it looks good to me. For my own education (as I know next to zero about this), I'm curious how the current Based on the link you sent (thank you!) and some other poking around I've done the last couple of hours, it seems like The closest thing I could find relative to the I'm approving this but will give others the weekend to take a look as well. Thanks again! |
For the the |
As for the default in the future,
The italics above are mine. The point is, this is a matter of two python backend servers ( |
The |
Excellent. Thank you for the great explanation Max. I'm super happy it matches my shallow understanding! |
This lets you configure the "<type>" string that gets added (along with a space) to the front of the auth token in the header of all HTTP requests made to a gateway.
Technically, the current default (
"token"
) is invalid with respect to the authorization header spec, but I kept it for backwards compatibility: https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication#authentication_schemes