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

Extract basic auth from URL #480

Closed
hollinwilkins opened this issue Oct 31, 2017 · 1 comment
Closed

Extract basic auth from URL #480

hollinwilkins opened this issue Oct 31, 2017 · 1 comment

Comments

@hollinwilkins
Copy link

URLs that have basic auth included in the origin username:[email protected] should pass the appropriate headers via metadata in the gRPC call.

If I pass a URL like this to gRPC-gateway: myuser:[email protected]/api-call1 I would expect the grpcgateway-authorization and authorization keys to be set with the relevant data, just as if I had passed the username/password via the Authorization: Basic ... header

@hollinwilkins
Copy link
Author

Nevermind, apparently this way of passing credentials is deprecated.

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