Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-25575

Add support for JWT authentication in HTTP mode

    XMLWordPrintableJSON

Details

    Description

      It would be good to support JWT auth mechanism in hive. In order to implement it, we would need the following -

      On HS2 side -
      1. Accept JWT in Authorization: Bearer header.
      2. Fetch JWKS from a public endpoint to verify JWT signature, to start with we can fetch on HS2 start up.
      3. Verify JWT Signature.

      On JDBC Client side -
      1. Hive jdbc client should be able to accept jwt in JDBC url. (will add more details)
      2. Client should also be able to pick up JWT from an env var if it's defined.

      Attachments

        Issue Links

          Activity

            People

              hsnusonic Yu-Wen Lai
              ShubhamChaurasia Shubham Chaurasia
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 5h
                  5h