Skip to content

Cannot get custom JWT authentication to work #3185

Answered by Harshg999
mvilrokx asked this question in Questions
Discussion options

You must be logged in to vote

@mvilrokx It is not working because the the Key-Set your key server is sending is different for how it is implemented to receive one (the key server for which the implementation was done send it in some different way which was not trivial).

But the JWT handling flow is the same:

- Your web service sends the JWT as bearer token in request headers of the API called.
- Custom auth in Hue first fetches the public key from the auth server and then using it, decodes the JWT to extract the user information.
- To access external services like Impala etc. via Hue, the JWT is further passed on to Impala for it to decode and let your external web service access Impala via Hue seamlessly.

Because of…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Harshg999
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #3163 on February 01, 2023 09:00.