[ https://issues.apache.org/jira/browse/NUTCH-2991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17725454#comment-17725454 ]
ASF GitHub Bot commented on NUTCH-2991: --------------------------------------- sebastian-nagel opened a new pull request, #763: URL: https://github.com/apache/nutch/pull/763 (patch contributed by Marcos Gomez) - adds params auth.header.name and auth.header.value for JWT Authentication with Bearer Tokens sent via the HTTP Authorization header > Support HTTP/S Header Authorization for Solr connections > -------------------------------------------------------- > > Key: NUTCH-2991 > URL: https://issues.apache.org/jira/browse/NUTCH-2991 > Project: Nutch > Issue Type: New Feature > Components: indexer, plugin > Affects Versions: 1.19 > Reporter: Marcos Gomez > Priority: Major > Fix For: 1.20 > > Attachments: solr_token_auth.patch, solr_token_auth_2.patch > > > Currently only Basic Authentication is possible with Solr, but I have an > issue to connect to a Solr instance that use Token authentication. > So it should be possible to define the value of Authorization Header to > provide the name and token value, that will be send on the HTTP request to > Solr. > Header: > * Authorization: _Name Value_ > So in the configuration should be able to set up something like this to > populate the header: > * solr.auth.header.name=Bearer > * solr.auth.header.value=JWT_TOKEN > -- This message was sent by Atlassian Jira (v8.20.10#820010)