[
https://issues.apache.org/jira/browse/SOLR-13070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17435270#comment-17435270
]
Jan Høydahl edited comment on SOLR-13070 at 10/28/21, 9:09 AM:
---------------------------------------------------------------
I'm just saying that it can be broken into two parts. First add support to
SolrJ for attaching a Bearer Auth header to any request. Commit and merge.
Then consider adding OIDC capabilities, but that would increase SolrJ surface
area, so perhaps do this as a new {{org.apache.solr:solrj-solrj-oidc}} optional
dependency that users need to explicitly bring in to use that feature. You'd
definitely want to use a 3rd party OIDC lib to do token refresh etc.
was (Author: janhoy):
I'm just saying that it can be broken into two parts. First add support to
SolrJ for attaching a Bearer Auth header to any request. Commit and merge.
Then consider adding OIDC capabilities, but that would increase SolrJ surface
area, so perhaps do this as a new {{org.solr.solrj:solrj-oidc}} optional
dependency that users need to explicitly bring in to use that feature. You'd
definitely want to use a 3rd party OIDC lib to do token refresh etc.
> Add JWT Auth support in SolrJ
> -----------------------------
>
> Key: SOLR-13070
> URL: https://issues.apache.org/jira/browse/SOLR-13070
> Project: Solr
> Issue Type: Improvement
> Components: SolrJ
> Reporter: Jan Høydahl
> Assignee: Timothy Potter
> Priority: Major
>
> When SOLR-12121 is done, we should add a way for SolrJ clients to add the
> correct Authorization header for requests in order to pass the token in the
> Authorization header.
> This should be a generic solution, not just a new {{setJwtCredentials}} on
> SolrRequest.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]