-
Notifications
You must be signed in to change notification settings - Fork 798
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
AddSolrNet doesn't implement HttpWebRequestFactory injection #563
Comments
You should be able to use a |
Probably but I do not build the HttpClient. I can't inject anything in the constructor.
|
Sorry, got a similar question when I posted that gist but I notice now that this one is for SimpleInjector and it's a bit diferent too. |
Our Solr instances are protected with the JWT Authentication. The connections needs a valid http header JWT in the HttpClient. The HttpClient is exposed but once the http authorization header is added, there is no way to refresh it. Exposing the HttpWebRequestFactory will give the possibility to refresh the http header token when needed.
The text was updated successfully, but these errors were encountered: