Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13071

Add JWT Auth support in bin/solr

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • scripts and tools
    • None

    Description

      Once SOLR-12121 gets in, we should add support to bin/solr start scripts so they can authenticate with Solr using a JWT token. A preferred way would perhaps be through solr.in.sh and add new

      SOLR_AUTH_TYPE=token
      SOLR_AUTHENTICATION_OPTS=-DjwtToken=....
      

      A disadvantage with this method is that the user needs to know how to obtain the token, and the token needs to be long-lived. A more sophisticated way would be a bin/solr auth login command that opens a browser window with the IDP login screen and saves the short-lived access token and optionally refresh token, in the file system.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              janhoy Jan Høydahl
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: