Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 4.0.0
-
None
-
ghx-label-2
Description
JWT support entails:
- Reading the JWT out of the HTTP Header
- Verifying the JWT's signature
- Getting the username out of the JWT contents
For #1, we can assume that it comes in via the Authorization: Bearer header. If this is not uniform, this may need to be configurable.
For #2, we need the public key of the entity that produced the JWT. This will need to be passed in at startup.
For #3, there is no standardized name for the username field on a JWT. This should be configurable.
Subsequent tasks may provide other ways to specify the public key and parse out other pieces of information from the JWT.